cc0f635ef7
'$' at end of pattern was matching regular '$', too.
Roberto Ierusalimschy
1999-04-30 11:12:05 -03:00
e64dbc390a
new version is beta.
Roberto Ierusalimschy
1999-04-15 09:33:19 -03:00
a0fd8d1787
manual for 3.2 beta should be the same one that for 3.2.
Roberto Ierusalimschy
1999-04-14 17:47:12 -03:00
d9d04a9274
"read_pattern" could lock when reading a lookahead from stdin.
Roberto Ierusalimschy
1999-04-14 17:40:32 -03:00
b4ad600b93
numbers are stored in ascii format for better portability and simplicity
Roberto Ierusalimschy
1999-04-13 17:16:37 -03:00
cb7f027380
IMtable must be initialized (and IMtable_size is not needed any more) due to new way to handle growing vectors (previous modification).
Roberto Ierusalimschy
1999-04-13 16:30:51 -03:00
1dcf1c9cbd
format "%s" may break limit of "sprintf" on some machines.
Roberto Ierusalimschy
1999-02-04 17:29:51 -02:00
76179a1014
compile option EXTRALIB for builtin functions that can be written in Lua.
Roberto Ierusalimschy
1999-02-04 17:12:35 -02:00
bdfab46c22
"errorim" now is _ERRORMESSAGE.
Roberto Ierusalimschy
1999-02-04 16:59:31 -02:00
5687949560
"lua_debug", "lua_callhook" and "lua_linehook" must be inside "lua_state".
Roberto Ierusalimschy
1999-02-04 15:47:59 -02:00
19de5b2205
new dependencies
Roberto Ierusalimschy
1999-02-04 14:37:41 -02:00
cbc58af260
new opcode for "long" arguments (3 bytes)
Roberto Ierusalimschy
1999-02-04 14:36:16 -02:00
80001ab0eb
getlocal cannot return the local itself, since lua_isstring and lua_isnumber can modify it.
Roberto Ierusalimschy
1999-02-03 14:42:42 -02:00
ae29ab9858
only parser uses MAX_WORD
Roberto Ierusalimschy
1999-02-03 11:53:48 -02:00
27407fc1f5
new syntax: assignment expressions + better order for opcodes
Roberto Ierusalimschy
1999-02-02 17:41:17 -02:00
1a17da2ff9
opcodes with builtin parameters are too complicated for very little extra performance.
Roberto Ierusalimschy
1999-02-02 15:57:49 -02:00
50248e440a
"if" expression leaves only one of its expressions on the stack
Roberto Ierusalimschy
1999-02-02 11:47:31 -02:00
fd7d0774e5
luaH_set does the set and protect its value; luaH_move can then be a macro. New algorithm for double hashing (does not use "%").
Roberto Ierusalimschy
1999-01-25 15:41:19 -02:00
57ffc3f009
luaH_set does the set, and protects its value, so luaH_move can be a macro.
Roberto Ierusalimschy
1999-01-25 15:40:10 -02:00
4a13f513f8
luaH_set does the set!
Roberto Ierusalimschy
1999-01-25 15:39:28 -02:00
13ad46b67d
uses the same double hashing that is used for tables
Roberto Ierusalimschy
1999-01-25 15:38:04 -02:00
1b45e967b4
table entries with ref=null always have val=null too.
Roberto Ierusalimschy
1999-01-25 10:30:11 -02:00
933bead92e
small optimizations(?)
Roberto Ierusalimschy
1999-01-22 16:47:23 -02:00
3314f49ec4
C cannot initialize a struct.
Roberto Ierusalimschy
1999-01-22 16:46:11 -02:00
bc930aa5ff
"free" usually handles NULL; handle non ANSI case separately.
Roberto Ierusalimschy
1999-01-22 16:08:57 -02:00
67b44c9493
local names are all in the constant pool, so they do not need to be marked in GC.
Roberto Ierusalimschy
1999-01-22 16:08:03 -02:00
758a381644
"realloc" usually implements "malloc"; handle non ANSI case separately.
Roberto Ierusalimschy
1999-01-22 15:28:00 -02:00
eec31aaca5
<string.h> is needed because of "memcpy".
Roberto Ierusalimschy
1999-01-21 16:38:39 -02:00
595738f6fe
small optimizations
Roberto Ierusalimschy
1999-01-20 18:22:06 -02:00
b5eb4f3126
small optimization in getglobal
Roberto Ierusalimschy
1999-01-15 11:14:24 -02:00
fb663f768d
"%.16g" already formats integers as integers, so we do not need an alternative "%ld" convertion in "tostring".
Roberto Ierusalimschy
1999-01-13 17:09:04 -02:00