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 |
Roberto Ierusalimschy
|
68d1091b79
no more unary '+'
|
31 years ago |
Roberto Ierusalimschy
|
aa4cd37adf
small bug corrected
|
31 years ago |
Roberto Ierusalimschy
|
9bee23fd05
listing did not list POWOP
|
31 years ago |
Roberto Ierusalimschy
|
3bd0f9e211
uses new memory module (mem.c).
|
31 years ago |
Roberto Ierusalimschy
|
86b35cf4f6
unification of symbol tree and constant tree
|
31 years ago |
Roberto Ierusalimschy
|
5e60b961de
small changes to avoid shadowing
|
31 years ago |
Roberto Ierusalimschy
|
b8bfa9628d
because lua_error does a longjmp, there is no need to a variable
|
31 years ago |
Roberto Ierusalimschy
|
0a5dce5704
new opcodes for '>' and '>='
|
31 years ago |
Roberto Ierusalimschy
|
2651afc455
RESET is generated at codereturn.
|
31 years ago |
Roberto Ierusalimschy
|
fbf887ec2b
new way to call functions, plus several small changes. This is
|
31 years ago |
Roberto Ierusalimschy
|
f53460aab9
CREATEARRAY now has an argument, the size of the array to create.
|
31 years ago |
Roberto Ierusalimschy
|
fb23cd2e26
deletion of 'include mm.h'
|
31 years ago |
Waldemar Celes
|
424db1db0c
power operator (^).
|
31 years ago |
Waldemar Celes
|
ceaaa0cca8
Correcao do tratamento de erro reportado dentro de uma funcao.
|
31 years ago |
Waldemar Celes
|
87dded9363
Mudancas na sintaxe para a versao 2.0. Igual relacional passa
|
31 years ago |