|
In short, they will allow one to "cut in" the token stream, modifying syntactical things as long as the outcoming stream remains valid Lua tokens. In the exhibited case, one would simply add "nil" where two consequtive commas occur. In practise, it is not quite as simple as this. Alternatives to experiment with include lhf's token filter patch, my fsyntax.lua/ftools.lua which builds upon it (adding syntax awareness), and MetaLua (which in my opinion has way too complex expressions, but I'm biased... ;) -asko RJP Computing kirjoitti 22.7.2007 kello 20:55: On 7/22/07, Asko Kauppi <askok@dnainternet.net> wrote: |