Roberto Ierusalimschy
|
1f691a4fcd
renaming of some opcodes and fields
|
25 years ago |
Roberto Ierusalimschy
|
d11e5adf55
`const' array in protos breaked in 3 arrays (for strings, numbers, and
|
25 years ago |
Roberto Ierusalimschy
|
acdb0b741e
comments.
|
26 years ago |
Roberto Ierusalimschy
|
b1b0c219f5
new ttypes to distinguish between C closures and Lua closures.
|
26 years ago |
Roberto Ierusalimschy
|
6c79a0a80d
new way to control hooks inside hooks (now the control is done inside Lua)
|
26 years ago |
Roberto Ierusalimschy
|
1b15206cf9
many details + code redistribution
|
26 years ago |
Roberto Ierusalimschy
|
fe237ad808
fixed stack; first version.
|
26 years ago |
Roberto Ierusalimschy
|
d015f1fc02
table sizes don't need to be primes; power of 2 gives the same performance.
|
26 years ago |
Roberto Ierusalimschy
|
e5743adb21
macros `key', `val', and `node' don't need the state
|
26 years ago |
Roberto Ierusalimschy
|
29ede6aa13
first implementation of multiple states (reentrant code).
|
26 years ago |
Roberto Ierusalimschy
|
0c725b2492
buffer can shrink when too big
|
26 years ago |
Roberto Ierusalimschy
|
cde179b369
new implementation for global variable values (separated from strings)
|
26 years ago |
Roberto Ierusalimschy
|
4e9f2d13d5
new implementation of hash tables.
|
26 years ago |
Roberto Ierusalimschy
|
c5fee7615e
new implementation for string hashing, with chaining.
|
26 years ago |
Roberto Ierusalimschy
|
4343420d4d
simplified version of `gc' tag method (only for userdata now).
|
26 years ago |
Roberto Ierusalimschy
|
d53e2d2386
details
|
26 years ago |
Roberto Ierusalimschy
|
c787dccd9b
"const" !!!
|
26 years ago |
Roberto Ierusalimschy
|
b44e35b773
new constants LUA_NOREF and LUA_REFNIL.
|
26 years ago |
Roberto Ierusalimschy
|
5a8bb00df4
storing chunk "sources" instead of "filenames".
|
26 years ago |
Roberto Ierusalimschy
|
72d675aba7
macros "growvector" and "reallocvector" more compact
|
26 years ago |
Roberto Ierusalimschy
|
26d1e21c89
new way to handle "growing" vectors
|
26 years ago |
Roberto Ierusalimschy
|
67b44c9493
local names are all in the constant pool, so they do not need to be
|
26 years ago |
Roberto Ierusalimschy
|
64ad009fb2
"fileName" cannot be NULL
|
27 years ago |
Roberto Ierusalimschy
|
0969a971cd
better use of "ASSERT".
|
27 years ago |
Roberto Ierusalimschy
|
88a2023c32
support for strings with '\0'
|
27 years ago |
Roberto Ierusalimschy
|
d49e4dd752
MAX_WORD should not be bigger than MAX_INT
|
28 years ago |
Roberto Ierusalimschy
|
0e1058cfdd
small optimizations in switch order
|
28 years ago |
Roberto Ierusalimschy
|
502343b402
new scheme for buffers, centralized in auxlib.
|
28 years ago |
Roberto Ierusalimschy
|
45e533599f
optimization: closures without upvalues don't need to be closures
|
28 years ago |
Roberto Ierusalimschy
|
034f16892e
better treatment of MARKs and DEBUG cases.
|
28 years ago |