Roberto Ierusalimschy
|
6153200bc2
make sure there is no mem problems, using %.ns instead of %s for luaV_error.
|
28 жил өмнө |
Roberto Ierusalimschy
|
2e7595522d
allows '\r' at the end of pragmas, so one can mix Windows and Unix files
|
28 жил өмнө |
Roberto Ierusalimschy
|
b79ffdc4ce
global state for Lua interpreter
|
28 жил өмнө |
Roberto Ierusalimschy
|
592a3f289b
first implementation of centralized global state.
|
28 жил өмнө |
Roberto Ierusalimschy
|
9cdeb275e7
details
|
28 жил өмнө |
Roberto Ierusalimschy
|
c957b270d2
"call" now handles errors (instead of "dostring")
|
28 жил өмнө |
Roberto Ierusalimschy
|
92791b9dd6
small details
|
28 жил өмнө |
Roberto Ierusalimschy
|
45cad43c3f
"lua_open": now lua has an explicit open operation.
|
28 жил өмнө |
Roberto Ierusalimschy
|
dad5a01fb0
trigonometric mode stored in a Lua global variable.
|
28 жил өмнө |
Roberto Ierusalimschy
|
66713181c1
no need of "emergency error"...
|
28 жил өмнө |
Roberto Ierusalimschy
|
7135803cc8
"global" version of a nil object.
|
28 жил өмнө |
Roberto Ierusalimschy
|
b7567b6673
"read" & "write" may receive a file handler as first argument
|
28 жил өмнө |
Roberto Ierusalimschy
|
f8c95fa9e8
new "block" syntax (DO ... END)
|
28 жил өмнө |
Roberto Ierusalimschy
|
9c965d0ffb
more precise error messages for compiler limits.
|
28 жил өмнө |
Roberto Ierusalimschy
|
6103dca8ee
small bug.
|
28 жил өмнө |
Roberto Ierusalimschy
|
18cd7adac6
optimization to handle <a.x> (new opcode).
|
28 жил өмнө |
Roberto Ierusalimschy
|
41223a01ec
definition of "PI" and modes for angles.
|
28 жил өмнө |
Roberto Ierusalimschy
|
e78cf96c97
first version of Cclosures.
|
28 жил өмнө |
Roberto Ierusalimschy
|
0cb3843956
"foreach" and "foreachvar" more robust (to survive GCs), and with
|
28 жил өмнө |
Roberto Ierusalimschy
|
907368ead5
GC now considers an "estimate" of object size, instead of just the number
|
28 жил өмнө |
Roberto Ierusalimschy
|
81489beea1
functions may use many upvalues, to keep global values.
|
28 жил өмнө |
Roberto Ierusalimschy
|
ac30aad09b
new functions "foreach" and "foreachvar"
|
28 жил өмнө |
Roberto Ierusalimschy
|
2c89651fc6
macro "val" should live together with macro "ref".
|
28 жил өмнө |
Roberto Ierusalimschy
|
3a89c973ff
details
|
28 жил өмнө |
Roberto Ierusalimschy
|
52d5e8032c
better identification of types which are tags
|
28 жил өмнө |
Roberto Ierusalimschy
|
19c178fa14
new (smaller) prompt
|
28 жил өмнө |
Roberto Ierusalimschy
|
45ccb0e881
"nupvalues" is kept in Closure, not in prototype (as a preparation
|
28 жил өмнө |
Roberto Ierusalimschy
|
4be18fa889
details
|
28 жил өмнө |
Roberto Ierusalimschy
|
7c261a13b5
more uniform treatment to opcode variants.
|
28 жил өмнө |
Roberto Ierusalimschy
|
2bb94d9e22
using bison instead of yacc; lparser.c renamed to lstx.c (to
|
28 жил өмнө |