Roberto Ierusalimschy
|
fd379b38f7
new flag for STRERROR; libs now are called lib...
|
29 年之前 |
Roberto Ierusalimschy
|
aa4d865077
anna's comments
|
29 年之前 |
Roberto Ierusalimschy
|
3e94febfc1
pragmas should not be recognized inside literal strings.
|
29 年之前 |
Roberto Ierusalimschy
|
243b3a1a47
i/o functions return an error message
|
29 年之前 |
Roberto Ierusalimschy
|
389e808c60
although an ANSI function, some systems do not offer "strerror"
|
29 年之前 |
Roberto Ierusalimschy
|
450465c4d4
new parameters for "read" and "write". BIG CHANGE.
|
29 年之前 |
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 年之前 |