> Why not expose the Lua lexer to Lua scripts ? See my ltokenp, a token processor for Lua: http://webserver2.tecgraf.puc-rio.br/~lhf/ftp/lua/#ltokenp http://lua-users.org/lists/lua-l/2018-07/msg00683.html