1e118381f8
Ignore shadowing warning in cancheck for temporary Candran variables
2021-12-24 00:05:53 +01:00
7131c5c8b1
Candran 1.0.0
2021-06-23 20:59:04 +02:00
f0cacd6f08
Update tests
2021-06-18 15:33:04 +02:00
7b0563b9dc
Fix can handling of --import
2021-06-18 15:30:23 +02:00
56f1901f9b
Fix #set changing global state
2021-06-18 15:26:33 +02:00
b32d4d5600
Update README
2021-06-18 15:17:07 +02:00
53f715cc6f
Add #set to define preprocessors constants from an imported file
2021-06-18 14:56:19 +02:00
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
01e808e2e6
Fix Lua < 5.4 compiler with new preprocessor env
2021-06-17 20:18:38 +02:00
ff6d7f8feb
Fix require cycle
2021-06-17 19:48:32 +02:00
e9ae8e21a3
Use argparse to parse CLI args, separate preprocessor constants from options
2021-06-17 19:45:53 +02:00
dd22f2de3d
Rename built-in macros to __*__, add flag to disable built-in macros
2021-06-17 18:03:34 +02:00
b72aff807c
Update README
2021-06-11 14:29:12 +02:00
ea54376aa6
Add constexpr and __STR__ default macros
2021-06-11 14:17:55 +02:00
496a4ddafd
Add support for macro replacement using Lua functions
2021-06-11 13:46:31 +02:00
a0eda5bc72
Merge branch 'master' into macros
2021-06-11 13:15:51 +02:00
3c84d1fbdd
Fix string.format errors on Lua 5.1 when using booleans or nil
2021-06-09 14:16:28 +02:00
584dac17db
Typo
2021-06-07 17:24:25 +02:00
6a1f745015
Update README
2021-06-07 17:17:36 +02:00
ebd36d7103
Add macro support in preprocessor
2021-06-07 17:04:26 +02:00
66f1a5a3c2
Candran v0.14
2021-05-17 15:37:20 +02:00
012b5c1d5a
Typo
2021-05-17 15:29:54 +02:00
f5752cd231
Allow rewriting without new traceback
2021-05-17 15:19:55 +02:00
a3f05f5046
Update year
2021-05-17 14:57:34 +02:00
a9dc5ab254
Update README
2021-05-17 14:57:24 +02:00
d65c11e8d9
Fix Candran loader
2021-05-17 14:33:24 +02:00
b00068c766
Load candran before lua files
2021-05-17 14:21:14 +02:00
81f5f8fbbb
Improve error handling
2021-05-17 13:59:37 +02:00
d68c6fab0d
Candran v0.13
2020-12-24 18:18:11 +01:00
98efdc95f4
Improve cancheck column detection for identifiers
2020-12-24 18:17:27 +01:00
24a3e0ed69
Update README
2020-12-24 17:26:57 +01:00
7e4b46ba7d
Add Lua 5.2 target
2020-12-24 17:25:28 +01:00
bf4cadc349
Colorize tests output and fix Lua5.1 compatibility
2020-12-24 17:24:36 +01:00
c8aa4f2a08
Improve error reporting in candran.searcher
2020-12-24 16:24:26 +01:00
c8c35e93a8
Fix unpack/table.unpack rename in 5.3/5.4
2020-08-28 23:41:33 +02:00
cecb2aea03
Lua <5.4: Only error when the variable is declared with an attribute
2020-07-04 23:42:51 +02:00
10be62a2fe
Lua 5.4 support and const and close shortcut
2020-06-30 21:29:13 +02:00
7add585c03
Fix end_column being off by one in cancheck
2020-04-07 00:16:39 +02:00
03516abb45
Add SublimeLinter-contrib-cancheck to README
2020-04-07 00:05:50 +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
5fff7612f4
Candran 0.11.0
2020-01-15 20:59:59 +01:00
842536b561
Add destructuring assignement
2020-01-15 20:42:27 +01:00
851e9f89d6
Added safe operators, if/while with assignement, method stubs
2019-08-27 17:07:33 +02: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
da4ee63f3f
Fixed line numbers in errors for Lua 5.1/LuaJIT, hopefully finally
...
for some reason gmatch("[^\n]*") matches *two times* per line (one with the line, and an empty string) in Lua 5.1 and LuaJIT, but behave as expected in Lua 5.2/5.3...
2019-08-23 23:17:43 +02:00