Roberto Ierusalimschy
|
2f44cc9f4d
new pattern matching facilities; new version of i/o lib;
|
29 年 前 |
Roberto Ierusalimschy
|
d106f3f43c
pre-defined variable _VERSION_
|
29 年 前 |
Roberto Ierusalimschy
|
bf3091d94f
new version number
|
29 年 前 |
Roberto Ierusalimschy
|
4dbf7285a8
small omission corrected ("s_tsvalue")
|
29 年 前 |
Roberto Ierusalimschy
|
a1e41e3a12
small corrections in error messages
|
29 年 前 |
Roberto Ierusalimschy
|
9d0044ce53
"strfind" has an extra parameter to turn off all special characteres.
|
29 年 前 |
Roberto Ierusalimschy
|
37bf74efb7
some compilers do not accept "stdin"/"stdout" as constants.
|
29 年 前 |
Roberto Ierusalimschy
|
8c37d3b9d6
documentation of opcode meanings (thanks to lhf)
|
29 年 前 |
Roberto Ierusalimschy
|
0af581f0bf
new way to handle pragmas (at the lexical level, instead of parsing).
|
29 年 前 |
Roberto Ierusalimschy
|
2a506ea9d2
lua_linenumber is initialized in lex.c
|
29 年 前 |
Roberto Ierusalimschy
|
e5ec547eb3
"call" returns separate results, instead of a table.
|
29 年 前 |
Roberto Ierusalimschy
|
6d383202dc
"dofile" and "dostring" may return values.
|
29 年 前 |
Roberto Ierusalimschy
|
7b8166d7b3
a chunk may end with a return.
|
29 年 前 |
Roberto Ierusalimschy
|
3636bbad3a
new function "strrep"
|
29 年 前 |
Roberto Ierusalimschy
|
82f9f3e552
better structure to control stack interface lua-C.
|
29 年 前 |
Roberto Ierusalimschy
|
c96ad1c945
"strmap" replaced by "strupper" and "strlower" (that's what people will
|
29 年 前 |
Roberto Ierusalimschy
|
5b9fbfa006
"dostring" now stores the prefix of its string, to improve error messages.
|
29 年 前 |
Roberto Ierusalimschy
|
f0cc2d5506
BUG: a program ending in a comment without EOL made lex loops forever.
|
29 年 前 |
Roberto Ierusalimschy
|
d289ac81d3
functions may have tags CMARK and MARK, too.
|
29 年 前 |
Roberto Ierusalimschy
|
15791f93fe
lhf's corrections.
|
29 年 前 |
Roberto Ierusalimschy
|
d763b69740
skip first line of a lua file if it starts with a '#' (to allow shell
|
29 年 前 |
Roberto Ierusalimschy
|
36dd1af92d
"[^]]" must mean "not ]".
|
29 年 前 |
Roberto Ierusalimschy
|
25b6dae7c0
singlematch and item_end are used by "read", in iolib.
|
29 年 前 |
Roberto Ierusalimschy
|
1630c2533a
Pattern-Matching!
|
29 年 前 |
Roberto Ierusalimschy
|
1d373d77de
more functions exported.
|
29 年 前 |
Roberto Ierusalimschy
|
f025b0d160
"pushnil" is not needed (default return is nil).
|
29 年 前 |
Roberto Ierusalimschy
|
cc02b4729b
new mod implementation (more portable).
|
29 年 前 |
Roberto Ierusalimschy
|
2bb3830fc1
"memcpy" is defined in "string.h".
|
29 年 前 |
Roberto Ierusalimschy
|
7a38bdd4b3
"exit" is defined in "stdlib".
|
29 年 前 |
Roberto Ierusalimschy
|
7614b17e85
very small corrections
|
29 年 前 |