Releases: Reuh/candran
Releases · Reuh/candran
Candran v1.0.0
Breaking changes:
- CLI argument is now done using the argparse library, changing the syntax to
--long-optionsand being hopefully more familiar.
New features:
- Preprocessor macros using
#define(identifier, macro) - Built-in macros
__STR__and__CONSTEXPR__ - Defining preprocessor constants using
#set(identifier, value) - Preprocessors macros and constants are imported when using
#import - Static import using CLI
- Defining preprocessor constants using CLI
Fixed:
- Errors while printing some messages on Lua 5.1
Candran v0.14.0
Changes:
- Improve error handling (less stacktrace spam, better management of chunk names)
Fixes:
- Load Candran files before Lua ones
Candran 0.13.0
New features:
- Lua 5.4 and 5.2 targets
- const and close shortcuts
Bug fixes:
- table.unpack/unpack used in the correct Lua targets
- cancheck, package searcher error reporting and test suite improvements
Candran 0.12.0
New features:
- Added cancheck (luacheck for Candran)
Bug fixes:
- candran.make, .compile, .preprocess no longer throw errors but return nil, err
- can and canc output in case of error should now be similar to Lua
Candran 0.11.0
Added destructuring assignement.
Candran 0.10.0
- Added safe navigation operators
- Added method stubs
- Added if and while with assignments in the condition
- Better REPL which also now support linenoise for an ever betterer REPL (
luarocks install linenoise)
Candran 0.9.0
- Added a PUC Lua 5.1 target
- Fixed using continue and break in the same loop
Candran 0.8.0
- Added
canc -parseas a way to check for syntaxic errors - Allowed
cancandcanto read from standard input - Lua version target is now automatically detected
- Improve error reporting
Candran 0.7.0
- Added suffixable string and table litterals
- Fixed preprocessor misdetection of long strings and comments
Candran 0.6.2
Updated to LPegLabel 1.5 and fixed several bugs.
I've been using Candran for a while now without issues, so this should mean it's finally "robust enough".