moon
moon copied to clipboard
Moon
I'm leaning on having a powerful integer story. Moon is going to be optionally typed with the ability of having strong integer support. This is quite important for games and...
The lexer should never be responsible for reporting errors. If something is incorrect, the lexer should return an `Unknown` token. The parser will be responsible for dealing with it.
Some of the methods on the lexer, such as `eat`, `expect`, etc... should actually be moved into the parser.
The underlying implementation will be different for each use case, and thus, probably not tied to Moon. ``` lisp (loop expr body) ```
A new built-in form `let` should allow variables to be bound. This would implement a lexical scoping to moon. ``` lisp (let [x 100 y :keyword] ...) ```