Lua + typescript (* a dash of react) = Lux
Source | Lexer | Parser
:--------------------------:|:-----------------------------:| :-------------------------:
|
|
Lux is a programming language that sits on top of lua. It is a statically typed language that compiles down to lua code. Much like typescript is to javascript. It is designed to be a drop in replacement for lua, with the added benefit of static typing. It is not required to use types, but it is recommended. Lux also has a few other features that lua does not have, react like xml syntax, and a few other things.
- Lexer
- Parser - need to reimplement the new ast nodes into the visitors and check for grammar errors.
- Type checker
- Code generator