Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: Reuh/candran

Candran v1.0.0

23 Jun 19:05

Choose a tag to compare

Breaking changes:

  • CLI argument is now done using the argparse library, changing the syntax to --long-options and 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

17 May 13:39

Choose a tag to compare

Changes:

  • Improve error handling (less stacktrace spam, better management of chunk names)

Fixes:

  • Load Candran files before Lua ones

Candran 0.13.0

24 Dec 17:23

Choose a tag to compare

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

06 Apr 21:35

Choose a tag to compare

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

15 Jan 20:05

Choose a tag to compare

Added destructuring assignement.

Candran 0.10.0

27 Aug 15:14

Choose a tag to compare

  • 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

23 Aug 17:53

Choose a tag to compare

  • Added a PUC Lua 5.1 target
  • Fixed using continue and break in the same loop

Candran 0.8.0

11 Aug 15:29

Choose a tag to compare

  • Added canc -parse as a way to check for syntaxic errors
  • Allowed canc and can to read from standard input
  • Lua version target is now automatically detected
  • Improve error reporting

Candran 0.7.0

23 Dec 16:48

Choose a tag to compare

  • Added suffixable string and table litterals
  • Fixed preprocessor misdetection of long strings and comments

Candran 0.6.2

08 Aug 14:54

Choose a tag to compare

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".