|
On 15/09/2018 11:03, nobody wrote: [...]
IIRC you don't need to touch the parser at all, just the lexer.
For the underscore thing, I agree.For supporting literals in other bases I think you need to modify the parser. Anyway I don't know the internals of Lua too much, so mine is just an educated guess.
-- nobody