mirror of
https://github.com/Reuh/candran.git
synced 2025-10-27 09:59:29 +00:00
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
This commit is contained in:
parent
20e33c279e
commit
6b95bfb698
6 changed files with 1331 additions and 425 deletions
2
bin/canc
2
bin/canc
|
|
@ -28,7 +28,7 @@ for _, file in ipairs(args) do
|
|||
inputFile:close()
|
||||
|
||||
if args.ast then
|
||||
pp.dump(parse(input))
|
||||
pp.dump(assert(parse(input)))
|
||||
return
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue