lunar
lunar copied to clipboard
Lunar was a superset programming language of Lua 5.1 with optional static typing, inspired by TypeScript and Ruby.
`from "lunarc.ast" import * as AST` does not work, however `from "lunarc.ast.init" import * as AST` does.
`./lib/lunar/compiler/syntax/base_parser.lua:14: attempt to index local 'token' (a nil value)` This does not stop the compiler from successfully going over other files and successfully compiling everything else.
This rewrite is geared towards having a proper command line interface using [argparse](https://github.com/mpeterv/argparse). - Options - [x] `-p --project` A path leading to a directory containing a `.lunarconfig` file. -...
**TODO:** Not a lot of things have been properly tracked before this, so it is difficult to catch everything that has been completed thus far. Additionally, credits have not been...
```lunar (function() print(1) end)(); (function() print(2) end)() ``` Transpiles to ```lua (function() print(1) end)() (function() print(2) end)() ``` In this instance, the semicolon would need to be preserved, or else...