1
0
Fork 0
mirror of https://github.com/Reuh/candran.git synced 2025-10-27 17:59:30 +00:00
Commit graph

19 commits

Author SHA1 Message Date
d4102f1af6 Handle static import errors in can 2021-06-18 14:23:45 +02:00
008e7732bc Add static import 2021-06-18 14:09:10 +02:00
e9ae8e21a3 Use argparse to parse CLI args, separate preprocessor constants from options 2021-06-17 19:45:53 +02:00
3c84d1fbdd Fix string.format errors on Lua 5.1 when using booleans or nil 2021-06-09 14:16:28 +02:00
81f5f8fbbb Improve error handling 2021-05-17 13:59:37 +02:00
98efdc95f4 Improve cancheck column detection for identifiers 2020-12-24 18:17:27 +01:00
7add585c03 Fix end_column being off by one in cancheck 2020-04-07 00:16:39 +02:00
6edc682b21 Candran 0.12.0 2020-04-06 23:30:48 +02:00
33ac4c5d7f Discard warnings from external files in cancheck 2020-04-06 23:11:17 +02:00
1de0aafa5b Added cancheck; candran.compile, .make and .preprocess returns nil, err instead of throwing an error; can and canc error output should now be similar to Lua 2020-04-06 21:30:57 +02:00
dc19ac56a9 Rename lib to candran 2020-01-19 15:36:25 +01:00
6be81267d2 Making the REPL great again 2019-08-24 17:31:44 +02:00
d410606dc0 Readme cleanup 2019-08-24 15:19:59 +02:00
09ac497aed Allow can and canc to read from stdin, check for errors, cleaner output 2018-12-30 13:56:10 +01:00
70d3aba121 v0.6.0
* Fixed HORRIBLE parsing bugs with short functions and right assignemnt
operators
* Allowed to omit then, do and end for some statements
* Fixed hexa numbers parsing
* Run the Lua 5.3 test suite through Candran, everything that should
work worked! Yay!

Lacks tests and README
2017-08-31 19:17:34 +02:00
6b95bfb698 Added push, table comprehension, fixed stuff
* Implicit returns are now implicit pushes
* Candran keywords can be used as variable name
* Better handling of continue
* Moar newlines in output
2017-08-25 17:09:52 +02:00
025a55f708 Fixed assignemnt operators priority bug
accidentaly added AST dumping to canc in the process
2017-08-24 17:32:20 +02:00
ce4a44cb13 Fixed leaving debug code
And oh, I forgot in the last commit: I added a rockspec, which hopefully
works. Soon in LuaRocks repos near you.
2017-08-16 22:38:20 +02:00
4af2b41a0d Candran 0.3.0
* Added @ self alias
* Added short anonymous functions declaration
* Made assignment operators works in every direction, except up, down,
behind and below, because this would be hard to visualize.
* Moved files around.
* Error rewriting.
* Discover the amazing can commandline tool, which includes a fantastic°
REPL and program running abilities.
* Added functions which plagiarize Lua.
* Added 0.1.0 to the version number.
* If you still love pineapple flavored bread, don't hesitate to show
your feelings.

Also, the tests are out of date. Sad.

°: not really.
2017-08-16 22:33:44 +02:00