Skip to content

XenoS-ITA/leap_preprocessor

Repository files navigation

Leap V3

This version is still in development!

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.

TODO

  • Implementing fivem

Parsing suppport

  • Leap grammar (based on antlrv4/lua)
  • ANTLR4 tree to code generation

Leap v3 new features

  • NotIn operator
  • continue keyword
  • throw keyword
  • try-catch
  • Cosmetic underscores for integers
  • Ternary operator

${...}

  • String Interpolation
  • Filter
  • Using operator
  • Keyword arguments

Leap v2 added features

  • In operator
  • Table comprehension
  • leap.deserialize (to deserialize classes)

(a, b) do ... end

a do ...

(a, b) do ...

  • Compact functions

Leap v1 added features

  • Decorators
  • New keyword
  • Classes
  • Not equal (!=)
  • Default value
  • Type checking

Lua GLM (cfxlua) power patches parsing support

  • Compound Operators
  • Safe Navigation
  • In Unpacking
  • Set Constructors
  • C-Style Comments
  • Compile Time Jenkins' Hashes (``)
  • Defer

About

Preprocessor used by leap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors