lights FAQ Forum github.com/luapower/lx
This package
lx

Misc
ace.js
allegory.ro
bearssl
csv
daemon
dollar
font_db
fonts-amiri
fonts-awesome
fonts-dejavuserif
fonts-fireflysung
fonts-fixedsys
fonts-ionicons
fonts-material-icons
fonts-noto-emoji
fonts-open-sans
http
jsmin
libtls
libtls_bearssl
lx
minizip2
resty-core
resty-lrucache
resty.http
resty.mail
resty.string
socket2
terra2
uri
uuid
website
x-widgets
xlsxwriter

lx

Lua lexer in C with extensible Lua parser


local lx = require'lx'

Lua lexer in C with extensible Lua parser in Lua.

Used as the lexer & parser for terra2.

Can be used to create embedded DSLs that:

  • have Lua syntax(1), but have their own grammar and keywords.
  • can reference Lua local variables from the outer Lua lexical scope.
  • can contain full Lua expressions that are evaluated in the outer Lua lexical scope.

(1): extended with >>, <<, -> operators.

Status

Work in progress.


Last updated: 12 days ago | Edit on GitHub

Package:lx
Pkg type:Lua+ffi
Version: 2bebac3
Last commit:
Author: Cosmin Apreutesei
License: Public Domain

Requires: luajit 

Required by: none


Top