This website requires JavaScript.
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
0bbd96bd5f
details.
Roberto Ierusalimschy
1999-04-13 16:28:49 -03:00
4eb67aa710
changes from lhf.
Roberto Ierusalimschy
1999-04-07 13:40:04 -03:00
0133610315
format for function prototypes.
Roberto Ierusalimschy
1999-04-07 12:37:02 -03:00
de04533dc0
better the old way, using upvalues to keep iotag.
Roberto Ierusalimschy
1999-04-05 16:47:05 -03:00
7c9aee64c2
new version by lhf.
Roberto Ierusalimschy
1999-03-30 17:29:34 -03:00
e0ff4e5d22
first version about Lua debug library.
Roberto Ierusalimschy
1999-03-29 11:21:37 -03:00
bf7f85d609
GC of files is tricky when Lua is being closed...
Roberto Ierusalimschy
1999-03-26 10:48:26 -03:00
a775a2d81a
check first whether function is global.
Roberto Ierusalimschy
1999-03-26 10:14:00 -03:00
e9aa98d594
do not generate SETLINE after main (it will be after last line)
Roberto Ierusalimschy
1999-03-25 18:06:57 -03:00
3e9c6a8a24
details
Roberto Ierusalimschy
1999-03-25 18:05:05 -03:00
1f4e2ba7b2
more precise debug information about local variables
Roberto Ierusalimschy
1999-03-23 16:58:37 -03:00
d6ff06751a
new functions openfile and closefile; new way to keep file handle tags.
Roberto Ierusalimschy
1999-03-16 17:07:54 -03:00
7a11c7f8e4
details
Roberto Ierusalimschy
1999-03-16 13:43:27 -03:00
c454dc7bdd
no more if expressions.
Roberto Ierusalimschy
1999-03-11 16:00:12 -03:00
82ad0d5770
details
Roberto Ierusalimschy
1999-03-11 15:59:19 -03:00
256d1bea08
missing #include
Roberto Ierusalimschy
1999-03-10 11:23:07 -03:00
f2d35bdc78
format for file source is independent of "ldo".
Roberto Ierusalimschy
1999-03-10 11:19:41 -03:00
2679461637
no more assignment expressions (they don't fit in Lua...)
Roberto Ierusalimschy
1999-03-10 11:09:45 -03:00
0870a2d1d8
new opcode TAILCALL
Roberto Ierusalimschy
1999-03-05 18:16:07 -03:00
78edc241e9
details about debug info.
Roberto Ierusalimschy
1999-03-05 17:45:01 -03:00
e907c711c0
"feof" may be a macro.
Roberto Ierusalimschy
1999-03-05 10:15:50 -03:00
5a8bb00df4
storing chunk "sources" instead of "filenames".
Roberto Ierusalimschy
1999-03-04 18:23:39 -03:00
677188de8a
details.
Roberto Ierusalimschy
1999-03-04 18:15:50 -03:00
6233d21c9d
file stream cannot call fread after EOF.
Roberto Ierusalimschy
1999-03-04 11:50:26 -03:00
ab8ea5c38a
warnings
Roberto Ierusalimschy
1999-03-01 17:22:16 -03:00
ae9fd122fa
vector do not need to grow until MINSIZE
Roberto Ierusalimschy
1999-03-01 14:49:13 -03:00
da18ec5d54
warnings...
Roberto Ierusalimschy
1999-03-01 14:49:04 -03:00
038848eccd
better control of vector when DEBUGing
Roberto Ierusalimschy
1999-02-26 12:50:10 -03:00
b678e465a1
warnings in Solaris
Roberto Ierusalimschy
1999-02-26 12:49:53 -03:00
72d675aba7
macros "growvector" and "reallocvector" more compact
Roberto Ierusalimschy
1999-02-26 12:48:55 -03:00
ba57f7d946
details
Roberto Ierusalimschy
1999-02-26 12:48:30 -03:00
e63b542c9b
comments
Roberto Ierusalimschy
1999-02-26 12:19:54 -03:00
6a853fcb8b
details (from lhf)
Roberto Ierusalimschy
1999-02-25 18:07:26 -03:00
31bea2190b
small correction
Roberto Ierusalimschy
1999-02-25 16:20:40 -03:00
4b954e9b2e
details (from lhf)
Roberto Ierusalimschy
1999-02-25 16:13:56 -03:00
055823c04d
"L->Mbuffbase" is better kept as offset instead of pointer
Roberto Ierusalimschy
1999-02-25 12:17:01 -03:00
26d1e21c89
new way to handle "growing" vectors
Roberto Ierusalimschy
1999-02-25 12:16:26 -03:00
24a2c08145
details
Roberto Ierusalimschy
1999-02-24 18:31:03 -03:00
9d7bae0b6a
better instrumentation for internal debugging
Roberto Ierusalimschy
1999-02-24 14:55:51 -03:00
082aded149
warnings
Roberto Ierusalimschy
1999-02-24 12:37:19 -03:00
aa9c75c06e
no more EXTRALIBS (and new dependencies)
Roberto Ierusalimschy
1999-02-23 12:01:29 -03:00
f04c83e075
new function "lua_next" (+ new implementation for "next")
Roberto Ierusalimschy
1999-02-23 11:57:28 -03:00
c364e9f97e
LONGARGW (for completeness).
Roberto Ierusalimschy
1999-02-23 10:38:38 -03:00
e3a02e6a9c
comments
Roberto Ierusalimschy
1999-02-22 16:23:36 -03:00
d5feffdb60
new function lua_nextvar
Roberto Ierusalimschy
1999-02-22 16:13:12 -03:00
bb5627f3a4
better control over calls to _ALERT and _ERRORMESSAGE (to avoid error loops)
Roberto Ierusalimschy
1999-02-22 11:17:24 -03:00
21107d7c2c
debug state is restored after a dofile/dostring
Roberto Ierusalimschy
1999-02-22 10:51:44 -03:00
b5cd7d426f
details
Roberto Ierusalimschy
1999-02-19 15:33:35 -02:00
bf6d2ccf92
details
Roberto Ierusalimschy
1999-02-12 17:23:02 -02:00
b82ff713e3
new name for opcode
Roberto Ierusalimschy
1999-02-09 16:01:55 -02:00
77113ee02f
new year for Copyright.
Roberto Ierusalimschy
1999-02-09 13:59:22 -02:00
ad6c7b0dd4
small corrections in opcodes.
Roberto Ierusalimschy
1999-02-09 13:59:10 -02:00
8b2d97d187
assignment expression may be multiple
Roberto Ierusalimschy
1999-02-08 16:54:19 -02:00
fb1cf6ab2d
clearer way to set tables.
Roberto Ierusalimschy
1999-02-08 15:07:59 -02:00
19ca2087de
another (silly) debuging function.
Roberto Ierusalimschy
1999-02-08 14:29:35 -02:00
7bdbd833b5
userdata and strings are kept in separate stringtables
Roberto Ierusalimschy
1999-02-08 14:28:48 -02:00
b22baf386d
Lua cannot have static variables.
Roberto Ierusalimschy
1999-02-05 13:22:43 -02:00
8fdd06ba3c
lots of new stuff from 3.2
Roberto Ierusalimschy
1999-02-05 10:15:07 -02:00
028ec00ab9
details
Roberto Ierusalimschy
1999-02-05 09:22:58 -02: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
0f0079f394
"if" expressions.
Roberto Ierusalimschy
1999-02-01 16:52:05 -02:00
68267ed878
negative numerals do not need a MINUSOPeration; go directly to contant table.
Roberto Ierusalimschy
1999-01-29 11:48:58 -02:00
fd25d4ad85
no need to define functions for macros...
Roberto Ierusalimschy
1999-01-26 13:38:01 -02:00
2431534f10
details
Roberto Ierusalimschy
1999-01-26 09:50:58 -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
3fecf187ff
names...
Roberto Ierusalimschy
1999-01-15 11:11:57 -02:00
54840fb256
new functions to manipulate C global variables
Roberto Ierusalimschy
1999-01-15 11:11:22 -02:00
e87fddf1ad
GC can be called during parsing, if needed.
Roberto Ierusalimschy
1999-01-15 09:38:33 -02:00
dea400bc1d
"getstack" returns func, too.
Roberto Ierusalimschy
1999-01-15 09:36:28 -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
e03767b3eb
details (comments)
Roberto Ierusalimschy
1999-01-13 17:08:37 -02:00
8396027516
better precision when converting numbers to strings.
Roberto Ierusalimschy
1999-01-12 16:38:35 -02:00