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 年之前 |
Roberto Ierusalimschy
|
6dfdb76538
C functions don't need to "pushnil" to return nil value (this is
|
29 年之前 |
Roberto Ierusalimschy
|
9a3c51cff1
new name for POSIX flag (this one turns on some posix stuff in standard
|
29 年之前 |
Roberto Ierusalimschy
|
6336d2f9e1
flag for direct execution is "-e"; argument with an "=" goes to
|
29 年之前 |
Roberto Ierusalimschy
|
ec6677e551
when "block" is computed, "nentity" == "block". So the change is only
|
29 年之前 |
Roberto Ierusalimschy
|
20cbca699a
"lua_dofile" has a more informative return code.
|
29 年之前 |
Roberto Ierusalimschy
|
3211a9648a
"lua_dofile" returns different error codes if it could not open the file
|
29 年之前 |
Roberto Ierusalimschy
|
0baa915343
new option "-x" to execute a string given as argument.
|
29 年之前 |