2.0.3 • Published 3 months ago
leapparser v2.0.3
Leap
(Lua extension accessibility pre-processor) is a fast pre-processor of a "modernized" and extended version of lua that pre-processes in pure executable lua.
Think of it as an effective "modernity" leap into the future to make lua a feature-rich language.
V2 Status
TODO
- Distribuite leap as a npm for pre processing files (??)
- Adding exports for preprocessing from another resource inside FiveM
- Implementing shadow writing and auto resource parsing
Parsing suppport
- Leap parser (based on https://github.com/fstirlitz/luaparse)
- Custom AST to code that maintain line formatting (not indentation for now)
- Hooking capability for adding inline hooks (without touching the line formattation)
- Hooking capability for adding inline hooks (without touching the line formattation)
Leap v2 new features
- In operator
- Table comprehension
- leap.deserialize (to deserialize classes)
Leap v1 added features
- Arrow functions
- Classes
- Decorators
- Default value
- New keyword
- Not equal (!=)
- Type checking
- Unpack (...)
Lua GLM (cfxlua) power patches parsing support
- Compound Operators
- Safe Navigation
- In Unpacking
- Set Constructors
- C-Style Comments
- Compile Time Jenkins' Hashes (
)
- Defer