Purpose: collect links to the various changes people have suggested and/or made


Edgar Toernig has created SOL ("Son Of Lua")

http://lecker.essen.de/~froese/sol/

John Belmonte expresses some reservations

http://lua.swiki.net/64


Maybe this is also a good place to discuss potential design flaws?

JCW: The choice of '[[' and ']]' as multi-line string delimeters seems like a better one than Python's '"""' at both ends, for example, since it allows nesting. So the following will work as expected:

    a = [[ b = [[ c ]] ]]

And even this will, no doubt:

    a = [[b=[[c]]]]

But all is not well, the following will not parse as expected:

    a = [[table[1]]]

With a non-symmetric set, this would not happen (i.e. not just doubled square brackets).

Side issue: wouldn't it be nice if gsub's '%b()' syntax also allowed multi-character delimiters, such as '[[' + ']]', or '/*' and '*/'? It would need some syntax, one option is to disallow using digits, then 1..9 would indicate the size of the token, e.g. "%b2/*2*/" (no, it's not very pretty...).


Last modified
2001-06-06

(62.54.182.180)

Note: you are looking at
the snapshot of an old wiki
- much of this information
is likely to be very outdated