This website requires JavaScript.
907368ead5
GC now considers an "estimate" of object size, instead of just the number of objects.
Roberto Ierusalimschy
1997-10-23 14:26:37 -02:00
81489beea1
functions may use many upvalues, to keep global values.
Roberto Ierusalimschy
1997-10-18 14:46:39 -02:00
ac30aad09b
new functions "foreach" and "foreachvar"
Roberto Ierusalimschy
1997-10-18 14:33:36 -02:00
2c89651fc6
macro "val" should live together with macro "ref".
Roberto Ierusalimschy
1997-10-18 14:29:15 -02:00
3a89c973ff
details
Roberto Ierusalimschy
1997-10-16 19:14:47 -02:00
52d5e8032c
better identification of types which are tags
Roberto Ierusalimschy
1997-10-16 18:07:40 -02:00
19c178fa14
new (smaller) prompt
Roberto Ierusalimschy
1997-10-16 16:35:59 -02:00
45ccb0e881
"nupvalues" is kept in Closure, not in prototype (as a preparation for C closures...)
Roberto Ierusalimschy
1997-10-16 08:59:34 -02:00
4be18fa889
details
Roberto Ierusalimschy
1997-10-15 18:16:00 -02:00
7c261a13b5
more uniform treatment to opcode variants.
Roberto Ierusalimschy
1997-10-13 20:12:04 -02:00
2bb94d9e22
using bison instead of yacc; lparser.c renamed to lstx.c (to avoid confusion with lparser.h...)
Roberto Ierusalimschy
1997-10-13 20:10:45 -02:00
a3235ad270
prompt for interactive mode
Roberto Ierusalimschy
1997-10-06 12:51:32 -02:00
f6a9cc9a67
jumps are relative to next instruction
Roberto Ierusalimschy
1997-10-06 12:51:11 -02:00
28d47a0aaa
all jumps have byte variants; WHILE optimization
Roberto Ierusalimschy
1997-10-01 17:05:34 -03:00
eb617df2d8
better way to traverse GCnode lists.
Roberto Ierusalimschy
1997-09-26 13:46:20 -03:00
a580480b07
new implementation for globals: Global value is stored in TaggedString
Roberto Ierusalimschy
1997-09-26 12:02:26 -03:00
0dd6d1080e
new opcode variants.
Roberto Ierusalimschy
1997-09-24 16:43:11 -03:00
3c820d622e
better control over closed files
Roberto Ierusalimschy
1997-09-23 11:12:44 -03:00
d6c867ea50
better way to cope with opcode variants
Roberto Ierusalimschy
1997-09-22 17:53:20 -03:00
2079cfe8fa
new way to code globals, using const table instead of putting global index inside the opcode.
Roberto Ierusalimschy
1997-09-19 18:17:52 -03:00
dfe03c7abe
small optimizations (bit scrubbing)
Roberto Ierusalimschy
1997-09-19 15:40:32 -03:00
8cd67ac676
Syntax analizer and code generator
Roberto Ierusalimschy
1997-09-16 16:33:21 -03:00
9828893f7e
Makefile
Roberto Ierusalimschy
1997-09-16 16:33:21 -03:00
6990da0057
Lua virtual machine
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
d985dc0629
Opcodes for Lua virtual machine
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
451124005b
Standard I/O (and system) library
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
2f1fa3d427
Type definitions for Lua objects
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
189d64409b
Garbage Collector
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
60cc473bcf
Lexical Analizer
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
43a2ee6ea1
Stack and Call structure of Lua
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
4b91e9cde6
Tag methods
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
26c5f56ad1
Built-in functions
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
daa858ef27
String table (keep all strings handled by Lua)
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
ea169d2083
auxiliar functions from Lua API
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
c31aa863ac
Auxiliar functions for building Lua libraries
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
ff08b0f406
Lua Function structures
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
c1801e623f
Some generic functions over Lua objects
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
a404f6e0e6
Lua tables (hash)
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
2d2440a753
Lua stand-alone interpreter
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
0c4ed2b3dc
main header file
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
b945fae40e
Lua standard mathematical library
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
dadba4d6ed
Interface to Memory Manager
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
d600a6b5b3
a generic input stream interface
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
75ac0d2172
Standard library for strings and pattern-matching
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
9f3785a2f3
Lua standard libraries
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
84e92e0976
Debuging API
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
b8a049abed
Global variables
Roberto Ierusalimschy
1997-09-16 16:25:59 -03:00
e18f681333
very small corrections...
Roberto Ierusalimschy
1997-09-16 16:01:10 -03:00
dd1aa28390
small optimization in opcodes for "and" and "or"
Roberto Ierusalimschy
1997-08-04 16:15:05 -03:00
abbf14cd32
small optimizations; try to find previous use when coding a real constant.
Roberto Ierusalimschy
1997-07-31 17:46:59 -03:00
e8292f076d
new dependencies
Roberto Ierusalimschy
1997-07-31 17:45:25 -03:00
3037dccaf6
prime numbers spread better.
Roberto Ierusalimschy
1997-07-31 17:44:46 -03:00
a7793468aa
correct support for changing real to double (optional)
Roberto Ierusalimschy
1997-07-31 16:37:37 -03:00
caa987faad
"random" accepts an 'n' to return between 1 and 'n'.
Roberto Ierusalimschy
1997-07-30 19:15:18 -03:00
0892f0e5b7
BIG CHANGE: functions have their own "constant table".
Roberto Ierusalimschy
1997-07-30 19:00:50 -03:00
1d7857bc63
free(b) is equivalent to realloc(b, 0)
Roberto Ierusalimschy
1997-07-30 15:29:08 -03:00
72a1d81b51
bug: lua_getlocal breaks when called with a CFunction.
Roberto Ierusalimschy
1997-07-29 18:11:10 -03:00
2c580a0afb
new way to handle global state during compilation.
Roberto Ierusalimschy
1997-07-29 17:38:45 -03:00
05e8b0ae80
new opcode, ENDCODE, to signal end of code vector.
Roberto Ierusalimschy
1997-07-29 17:38:06 -03:00
16dd77e8d9
unused field "size" in struct TFunc.
Roberto Ierusalimschy
1997-07-29 16:44:02 -03:00
0600f968c3
BUG: LUA_COMPAT2_5 written wrong...
Roberto Ierusalimschy
1997-07-29 10:35:06 -03:00
971b1d557d
bug log. Most of the log is done automatically by RCS, and not in the file itself :-)
Roberto Ierusalimschy
1997-07-29 10:34:15 -03:00
11d97c34d5
skipping of '#' in first line is done by lex.c.
Roberto Ierusalimschy
1997-07-29 10:33:15 -03:00
66be42549e
BUG: files starting with '#' get wrong line numbers
Roberto Ierusalimschy
1997-07-07 18:05:51 -03:00
067db30d71
"next" & "nextvar" check if argument is a result of previous calls
Roberto Ierusalimschy
1997-07-07 13:44:26 -03:00
da4dbe65b2
new functionality for "format": "%d$...".
Roberto Ierusalimschy
1997-07-04 19:35:38 -03:00
4321fde2a7
error inside an error method could break the stack.
Roberto Ierusalimschy
1997-07-04 11:55:37 -03:00
8f3df1d471
small details.
Roberto Ierusalimschy
1997-07-02 15:50:18 -03:00
1a17211707
auxliar support for "locale" (to avoid portability problems)
Roberto Ierusalimschy
1997-07-02 15:45:09 -03:00
d56e3a6481
"locale" support + better uniformity in formating
Roberto Ierusalimschy
1997-07-02 14:09:48 -03:00
7820a47184
LOCALE support
Roberto Ierusalimschy
1997-07-01 16:32:41 -03:00
88b185ada1
more uniform source (more macros...)
Roberto Ierusalimschy
1997-07-01 14:41:34 -03:00
ef3c45d523
for security reasons, one cannot change the tag of a udata from Lua.
Roberto Ierusalimschy
1997-06-27 19:38:49 -03:00
20a48a818f
a file handle must be a userdata.
Roberto Ierusalimschy
1997-06-27 19:38:49 -03:00
c9e6ed1d9f
small corrections.
Roberto Ierusalimschy
1997-06-27 15:39:34 -03:00
56fdab67d8
believe it or not, this makes a difference...
Roberto Ierusalimschy
1997-06-26 18:40:57 -03:00
3a98c8670d
new name for _VERSION (standard of _UPPERCASES for pre-defined global variable)
Roberto Ierusalimschy
1997-06-26 17:47:43 -03:00
da585783e3
new method to handle current files, with global variables _INPUT and _OUTPUT.
Roberto Ierusalimschy
1997-06-26 17:39:10 -03:00
e81f184164
new #define LUA_COMPAT2_5 to select "compatibility mode".
Roberto Ierusalimschy
1997-06-23 15:27:53 -03:00
3e43275308
incompatibilities with 2.5 + restrictions on tag methods
Roberto Ierusalimschy
1997-06-20 16:28:16 -03:00
f97307b548
zio should not care about how a user creates a FILE (pipe, socket, popen, etc).
Roberto Ierusalimschy
1997-06-20 16:25:54 -03:00
6402bfb1f8
better error message for dostring (2nd argument)
Roberto Ierusalimschy
1997-06-20 16:19:09 -03:00
27b6bbdcf3
"testC" inactive (active only for tests)
Roberto Ierusalimschy
1997-06-19 15:55:40 -03:00
5a198de3c1
new prefix luaZ
Roberto Ierusalimschy
1997-06-19 15:55:28 -03:00
c5d7ba7347
dostring has an optional error method argument
Roberto Ierusalimschy
1997-06-19 15:49:40 -03:00
f84c2ebc4a
dostring has an optional error method argument; counter for gsub only when there is a table (to keep full compatibility)
Roberto Ierusalimschy
1997-06-19 15:49:40 -03:00
c8897f2b08
counter for gsub only when there is a table (to keep full compatibility)
Roberto Ierusalimschy
1997-06-19 15:49:40 -03:00
6bb2cac3db
setparsedfile is extern; luaz_... changed to luaZ_...
Roberto Ierusalimschy
1997-06-19 15:04:34 -03:00
88f020b626
new interface to "lua_seterrormethod" and "lua_settagmethod", to allow the use of Lua functions too.
Roberto Ierusalimschy
1997-06-19 15:03:04 -03:00
a38f093f05
luaI_initTFunc initializes fileName.
Roberto Ierusalimschy
1997-06-19 14:46:12 -03:00
b6adfdd01b
gsub aborts if error occurs.
Roberto Ierusalimschy
1997-06-19 14:45:28 -03:00
b90b4bbd3a
macros don't need prototypes.
Roberto Ierusalimschy
1997-06-18 18:39:56 -03:00
f6d95140ae
using old version functions.
Roberto Ierusalimschy
1997-06-18 18:20:45 -03:00
eca17b24ea
#if wraps compatibility issue
Roberto Ierusalimschy
1997-06-18 18:20:45 -03:00
6b61582e47
do not use $...$ to italic.
Roberto Ierusalimschy
1997-06-18 18:11:53 -03:00
60bdc370d9
new functions lua_doFILE and lua_dobuffer to help users...
Roberto Ierusalimschy
1997-06-18 17:35:49 -03:00
b9e31f73ee
exported functions follow "lua" prefix rule.
Roberto Ierusalimschy
1997-06-18 17:30:52 -03:00
ea98620d98
new arguments for gsub
Roberto Ierusalimschy
1997-06-18 17:15:47 -03:00
6b78040840
lhf corrections + new gsub
Roberto Ierusalimschy
1997-06-18 17:14:52 -03:00
e931c7c0f6
error message always shows file names.
Roberto Ierusalimschy
1997-06-18 14:33:30 -03:00