Roberto Ierusalimschy
|
0af581f0bf
new way to handle pragmas (at the lexical level, instead of parsing).
|
29 years ago |
Roberto Ierusalimschy
|
7b8166d7b3
a chunk may end with a return.
|
29 years ago |
Roberto Ierusalimschy
|
7614b17e85
very small corrections
|
29 years ago |
Roberto Ierusalimschy
|
9863223fbf
first version of vararg facility (plus new function "call").
|
29 years ago |
Roberto Ierusalimschy
|
9284742a11
better control when growing arrays.
|
29 years ago |
Roberto Ierusalimschy
|
621322a305
"PrintCode" now is defined in luac.
|
29 years ago |
Roberto Ierusalimschy
|
d6e4c29733
fixed strings (not collectable) don't need to be inserted in the constant table.
|
29 years ago |
Roberto Ierusalimschy
|
f935d3397e
check if jump is bigger than 2^16.
|
29 years ago |
Roberto Ierusalimschy
|
45cf24485d
useless #include.
|
29 years ago |
Roberto Ierusalimschy
|
0f4903a5d7
new header "lex.h".
|
29 years ago |
Roberto Ierusalimschy
|
41259bff31
BIG CHANGE: new data structure for constants, strings and globals, using
|
29 years ago |
Roberto Ierusalimschy
|
5a3a1fe458
debug interface functions to manipulated local variables:
|
29 years ago |
Roberto Ierusalimschy
|
1431b52e76
improve of compiling error messages.
|
29 years ago |
Roberto Ierusalimschy
|
2998049f51
local variable stack needs only the name of the variable (TreeNode);
|
29 years ago |
Roberto Ierusalimschy
|
24ccc7c038
correction of some order dependencies in debug code.
|
29 years ago |
Roberto Ierusalimschy
|
9d9f9c48ff
local variables may appear inside blocks in main code.
|
30 years ago |
Roberto Ierusalimschy
|
15d48576ea
functions now may be declared with any "var" as a name;
|
30 years ago |
Roberto Ierusalimschy
|
39b071f7b1
new syntax for function declarations: "function a.x () ... "
|
30 years ago |
Roberto Ierusalimschy
|
9efc257d9d
new method to keep debug line information: current line is stored on the
|
30 years ago |
Roberto Ierusalimschy
|
2cffb08a5c
new style for debug information about functions: no more SETFUNCTION
|
30 years ago |
Roberto Ierusalimschy
|
68f337dfa6
Garbage collection of functions + header structure for functions
|
30 years ago |
Roberto Ierusalimschy
|
97b2fd1ba1
syntax for {...;...} is more flexible now.
|
30 years ago |
Waldemar Celes
|
8156604823
run-time stack now is controled at run time, instead of
|
30 years ago |
Roberto Ierusalimschy
|
f4591397da
strdup is done via mem.c to control its memory allocation
|
31 years ago |
Waldemar Celes
|
a8220feed2
bytecodes are indexed by integers, not Words, to allow bigger code on 32 bit machines
|
31 years ago |
Waldemar Celes
|
8bc4b0d741
routines are defined before rules, to allow correct compilation with bison
|
31 years ago |
Roberto Ierusalimschy
|
8cb8594a3b
better control of integer types and their limits
|
31 years ago |
Roberto Ierusalimschy
|
ce4fb88b34
opcode PUSHSELF has a parameter that indicates the method to be called
|
31 years ago |
Roberto Ierusalimschy
|
fbfa1cbe9b
erased function yywrap (nobody used it)
|
31 years ago |
Roberto Ierusalimschy
|
e901e0feae
modifications to avoid warnings when compiling yacc code
|
31 years ago |