Roberto Ierusalimschy
|
6336d2f9e1
|
flag for direct execution is "-e"; argument with an "=" goes to
direct execution, independently of flags.
|
1996-07-05 17:55:43 -03:00 |
|
Roberto Ierusalimschy
|
ec6677e551
|
when "block" is computed, "nentity" == "block". So the change is only
a simpler way to write the same expression.
|
1996-06-18 18:12:23 -03:00 |
|
Roberto Ierusalimschy
|
20cbca699a
|
"lua_dofile" has a more informative return code.
|
1996-06-18 17:08:40 -03:00 |
|
Roberto Ierusalimschy
|
3211a9648a
|
"lua_dofile" returns different error codes if it could not open the file
|
1996-06-10 16:36:24 -03:00 |
|
Roberto Ierusalimschy
|
0baa915343
|
new option "-x" to execute a string given as argument.
|
1996-06-10 16:35:46 -03:00 |
|
Roberto Ierusalimschy
|
5cddb264d4
|
lexical analiser may use luaI_buffer, instead of waste space with
a separate buffer.
|
1996-05-30 11:04:07 -03:00 |
|
Roberto Ierusalimschy
|
9863223fbf
|
first version of vararg facility (plus new function "call").
|
1996-05-28 18:07:32 -03:00 |
|
Roberto Ierusalimschy
|
9a1948e67d
|
small correction.
|
1996-05-27 11:06:58 -03:00 |
|
Roberto Ierusalimschy
|
f9deeac632
|
"luaI_malloc(s)" is just a macro to "luaI_realloc(NULL, s)".
|
1996-05-24 11:31:10 -03:00 |
|
Roberto Ierusalimschy
|
29f0021837
|
variables which contain string lengths must be long (if they also may
be negative) or size_t.
|
1996-05-22 18:59:07 -03:00 |
|
Roberto Ierusalimschy
|
7acddb871d
|
memory manager for old versions of Lua. It should be in RCS since
the beginning.
|
1996-05-06 18:37:28 -03:00 |
|
Roberto Ierusalimschy
|
a7ca46405d
|
unused "#include".
|
1996-05-06 13:59:00 -03:00 |
|
Roberto Ierusalimschy
|
0e2297afaa
|
update of dependencies from "#include"s.
|
1996-05-06 11:38:40 -03:00 |
|
Roberto Ierusalimschy
|
0a1891f6a0
|
new version.
|
1996-05-06 11:32:59 -03:00 |
|
Roberto Ierusalimschy
|
1936a9e53b
|
tables may grow bigger than words.
|
1996-05-06 11:30:27 -03:00 |
|
Roberto Ierusalimschy
|
820ec63bdf
|
as strings are no more duplicated, "nextvar" can use "pushstring".
|
1996-05-06 11:29:35 -03:00 |
|
Roberto Ierusalimschy
|
01ea523b80
|
small corrections.
|
1996-05-03 17:10:59 -03:00 |
|
Roberto Ierusalimschy
|
88cf0836fc
|
"isatty" is POSIX, but not ANSI.
|
1996-05-03 14:27:03 -03:00 |
|
Roberto Ierusalimschy
|
3ec9ee0d0f
|
new function "luaI_openlib" to help open libs.
|
1996-04-30 18:13:55 -03:00 |
|
Roberto Ierusalimschy
|
21c9ebf4a9
|
new algotithm to adjust garbage collection: it tries to adapt gc calls
so that it collects half of the total objects when it is called.
|
1996-04-29 15:53:53 -03:00 |
|
Roberto Ierusalimschy
|
4fb77c4308
|
no more "lua_Reference"; new return value for "append";
documentation of "exit" (it was not in the manual).
|
1996-04-29 15:50:08 -03:00 |
|
Roberto Ierusalimschy
|
bced00ab9e
|
lua_Reference is int, so say so.
|
1996-04-25 11:10:00 -03:00 |
|
Roberto Ierusalimschy
|
25116a3065
|
"malloc.h" is not ansi.
|
1996-04-25 11:01:27 -03:00 |
|
Roberto Ierusalimschy
|
eadbb9cff4
|
"stat" is not ansi.
|
1996-04-23 09:43:07 -03:00 |
|
Roberto Ierusalimschy
|
42b947296b
|
"fileno" is not ansi.
|
1996-04-23 09:43:07 -03:00 |
|
Roberto Ierusalimschy
|
f37e65d1cb
|
"exit" has an optional parameter of status.
|
1996-04-22 16:28:37 -03:00 |
|
Roberto Ierusalimschy
|
0ef5cf2289
|
lock mechanism seperseded by the REFERENCE mechanism.
|
1996-04-22 15:00:37 -03:00 |
|
Roberto Ierusalimschy
|
fed9408ab5
|
page size "letter".
|
1996-04-01 11:36:35 -03:00 |
|
Roberto Ierusalimschy
|
ce23901f04
|
smaller limit to stack size (otherwise C stack can finish first)
|
1996-03-22 16:12:15 -03:00 |
|
Roberto Ierusalimschy
|
df1ee1fb1c
|
small "abstraction"
|
1996-03-22 14:57:24 -03:00 |
|
Roberto Ierusalimschy
|
f1d0276684
|
small bug in strfind.
|
1996-03-21 19:18:08 -03:00 |
|
Roberto Ierusalimschy
|
7ecc2ea597
|
new version
|
1996-03-21 18:30:29 -03:00 |
|
Roberto Ierusalimschy
|
7a35f23c16
|
a simplification about memory error messages.
|
1996-03-21 15:55:02 -03:00 |
|
Roberto Ierusalimschy
|
9284742a11
|
better control when growing arrays.
|
1996-03-21 13:33:47 -03:00 |
|
Roberto Ierusalimschy
|
9704ff4cb1
|
hook variables are global, no more "lua_set...hook" functions.
|
1996-03-20 15:44:02 -03:00 |
|
Roberto Ierusalimschy
|
e3c0ce9a69
|
dofile accepts pre-compiled chunks.
lua_is... do coercion.
small correction: = versus ==.
|
1996-03-19 19:39:07 -03:00 |
|
Roberto Ierusalimschy
|
85b76bcc01
|
functions "lua_is..." consider coercions.
small change when calling call hook.
|
1996-03-19 19:28:37 -03:00 |
|
Roberto Ierusalimschy
|
a275d9a25b
|
functions "lua_is..." consider coercions.
|
1996-03-19 19:28:37 -03:00 |
|
Roberto Ierusalimschy
|
7e0be1fbde
|
unused "#include"
|
1996-03-19 13:50:24 -03:00 |
|
Roberto Ierusalimschy
|
54ba642cc3
|
new module "undump.o"
|
1996-03-15 15:22:09 -03:00 |
|
Roberto Ierusalimschy
|
8826eb7918
|
small correction
|
1996-03-15 15:21:58 -03:00 |
|
Roberto Ierusalimschy
|
e701a86385
|
"openfile" now returns the file
|
1996-03-15 10:13:13 -03:00 |
|
Roberto Ierusalimschy
|
3e1f731826
|
integration with undump (execution of pre-compiled chuncks)
|
1996-03-15 10:13:13 -03:00 |
|
Roberto Ierusalimschy
|
f86c1367db
|
new functions "rename" and "tmpname".
new option 'q' for function "format".
new example, about vararg.
|
1996-03-14 14:45:01 -03:00 |
|
Roberto Ierusalimschy
|
3226ac2da8
|
"lua_ntable" and "lua_nconstant" are public (undump.c uses them).
|
1996-03-14 12:57:19 -03:00 |
|
Roberto Ierusalimschy
|
3e9daa7416
|
creation of strings must call garbage collector.
|
1996-03-14 12:56:26 -03:00 |
|
Roberto Ierusalimschy
|
7236df875a
|
new function "luaI_buffer".
|
1996-03-14 12:55:49 -03:00 |
|
Roberto Ierusalimschy
|
675e608325
|
new functions "rename" and "tmpname".
|
1996-03-14 12:55:18 -03:00 |
|
Roberto Ierusalimschy
|
1dc0e82aeb
|
"freefunc" now is public.
|
1996-03-14 12:54:20 -03:00 |
|
Roberto Ierusalimschy
|
c2eb02aaf6
|
both "write" and "format" need "addquoted".
|
1996-03-14 12:53:09 -03:00 |
|
Roberto Ierusalimschy
|
2fee7e42c9
|
new option 'q' in function "format".
|
1996-03-14 12:52:35 -03:00 |
|
Roberto Ierusalimschy
|
281db390e8
|
no more "ugly" programs.
no more comments with '#'.
|
1996-03-14 12:17:28 -03:00 |
|
Roberto Ierusalimschy
|
40306b10db
|
small corrections.
|
1996-03-12 12:56:03 -03:00 |
|
Roberto Ierusalimschy
|
5c0e5fd36d
|
details.
|
1996-03-08 09:04:04 -03:00 |
|
Roberto Ierusalimschy
|
621322a305
|
"PrintCode" now is defined in luac.
|
1996-03-08 09:02:37 -03:00 |
|
Roberto Ierusalimschy
|
b58225e93b
|
unused declaration removed.
|
1996-03-06 10:11:23 -03:00 |
|
Roberto Ierusalimschy
|
ef94999647
|
parse.o was included twice in lua.a
|
1996-03-05 12:57:53 -03:00 |
|
Roberto Ierusalimschy
|
6f30fa98d8
|
small change to avoid error on "lua_pushstring(NULL)".
|
1996-03-04 11:46:35 -03:00 |
|
Roberto Ierusalimschy
|
74102bd716
|
small corrections.
|
1996-03-04 10:29:10 -03:00 |
|
Roberto Ierusalimschy
|
8d82aa821a
|
small correction (about types)
|
1996-03-01 13:54:00 -03:00 |
|
Roberto Ierusalimschy
|
66fc0f554a
|
using double to read numbers.
|
1996-02-26 19:35:51 -03:00 |
|
Roberto Ierusalimschy
|
d6e4c29733
|
fixed strings (not collectable) don't need to be inserted in the constant table.
|
1996-02-26 18:00:27 -03:00 |
|
Roberto Ierusalimschy
|
712ac505e0
|
small correction
|
1996-02-26 14:07:49 -03:00 |
|
Roberto Ierusalimschy
|
f935d3397e
|
check if jump is bigger than 2^16.
|
1996-02-26 14:07:20 -03:00 |
|
Roberto Ierusalimschy
|
30dd3a2dbc
|
small changes (preparing for new module of pre-compilation)
|
1996-02-26 14:06:39 -03:00 |
|
Roberto Ierusalimschy
|
c7e834f424
|
function "write_quoted" rewritten more clearly.
|
1996-02-22 17:56:33 -03:00 |
|
Roberto Ierusalimschy
|
8c1a9899d4
|
functions "luaI_free" and "luaI_realloc" (or macro "growvector") may be
called with NULL.
|
1996-02-22 17:34:33 -03:00 |
|
Roberto Ierusalimschy
|
05caf09a36
|
list of incompatibilities with version 2.2.
new macro \Version.
|
1996-02-16 10:12:12 -03:00 |
|
Roberto Ierusalimschy
|
168a865e60
|
more appropriate error message for "date"
|
1996-02-16 10:10:14 -03:00 |
|
Roberto Ierusalimschy
|
15c17c24fa
|
small improvements
|
1996-02-14 16:11:09 -03:00 |
|
Roberto Ierusalimschy
|
45cf24485d
|
useless #include.
|
1996-02-14 15:25:04 -03:00 |
|
Roberto Ierusalimschy
|
c56e2b2e30
|
new version
|
1996-02-14 10:40:26 -03:00 |
|
Roberto Ierusalimschy
|
d1608c597e
|
reserved words are stored in main string table; "marked" field is
used to indicate its type.
Table initializations centralized by "tree.c".
|
1996-02-14 10:35:51 -03:00 |
|
Roberto Ierusalimschy
|
0f4903a5d7
|
new header "lex.h".
|
1996-02-13 14:30:39 -03:00 |
|
Roberto Ierusalimschy
|
772f25d3dd
|
new header for lex.c
|
1996-02-13 14:30:39 -03:00 |
|
Roberto Ierusalimschy
|
f1a1eda7c5
|
old trick in "strsub" does not work with new hash table for strings.
|
1996-02-12 15:34:44 -03:00 |
|
Roberto Ierusalimschy
|
41259bff31
|
BIG CHANGE: new data structure for constants, strings and globals, using
an array of hash tables for all them.
|
1996-02-12 15:32:40 -03:00 |
|
Roberto Ierusalimschy
|
afaa98a666
|
no more "lua_pushliteral".
|
1996-02-12 15:32:09 -03:00 |
|
Roberto Ierusalimschy
|
73be918285
|
a backslash followed by a newline allows the newline to go into
a string.
|
1996-02-09 17:35:23 -02:00 |
|
Roberto Ierusalimschy
|
ca412214cb
|
new function "date", replaces old "date" and "time".
|
1996-02-09 17:02:30 -02:00 |
|
Roberto Ierusalimschy
|
801722825d
|
"lua_check_number" accepts strings convertible to numbers.
|
1996-02-09 17:00:23 -02:00 |
|
Roberto Ierusalimschy
|
3abc25fa54
|
new functions "random" and "randomseed".
|
1996-02-09 15:21:27 -02:00 |
|
Roberto Ierusalimschy
|
f4d67761f1
|
new section describing the debug interface.
|
1996-02-09 14:37:58 -02:00 |
|
Roberto Ierusalimschy
|
369c5fe3c0
|
lock mechanism more robust; nil is pseudo-locked under index -1.
|
1996-02-08 17:08:34 -02:00 |
|
Roberto Ierusalimschy
|
7918c6cf11
|
small bug
|
1996-02-08 16:14:17 -02:00 |
|
Roberto Ierusalimschy
|
826d70fcba
|
new type lua_Function for activation records
|
1996-02-08 15:03:20 -02:00 |
|
Roberto Ierusalimschy
|
bbb23048e3
|
correction of dependencies (include's).
|
1996-02-07 16:14:38 -02:00 |
|
Roberto Ierusalimschy
|
5a3a1fe458
|
debug interface functions to manipulated local variables:
"lua_getlocal" and "lua_setlocal".
|
1996-02-07 16:10:27 -02:00 |
|
Roberto Ierusalimschy
|
56fb06b6f5
|
"lua_debug" now is exported through debug interface (luadebug.h)
|
1996-02-07 12:14:40 -02:00 |
|
Roberto Ierusalimschy
|
995a9f7188
|
no more "Bool" type
|
1996-02-07 12:13:17 -02:00 |
|
Roberto Ierusalimschy
|
a0ef046ef1
|
elimination of unused declarations (left from old modifications)
|
1996-02-06 14:18:21 -02:00 |
|
Roberto Ierusalimschy
|
5fa51fc426
|
new option "q" in function "write", to write literal strings.
|
1996-02-05 19:32:19 -02:00 |
|
Roberto Ierusalimschy
|
15057aa0a4
|
new examples showing data structures and object-oriented programming.
generic improvements and corrections.
|
1996-02-05 12:52:47 -02:00 |
|
Roberto Ierusalimschy
|
1431b52e76
|
improve of compiling error messages.
|
1996-02-05 11:26:01 -02:00 |
|
Roberto Ierusalimschy
|
98fe770cab
|
small bug
|
1996-02-04 14:59:12 -02:00 |
|
Roberto Ierusalimschy
|
43382ce5a2
|
new fallback "getglobal".
|
1996-01-30 13:25:23 -02:00 |
|
Roberto Ierusalimschy
|
abfebf1e21
|
new example showing how to build modules.
|
1996-01-30 13:24:49 -02:00 |
|
Roberto Ierusalimschy
|
b1c02c7f00
|
new fallback "getglobal".
modifications to generate an index (not automatically yet).
|
1996-01-30 10:55:10 -02:00 |
|
Roberto Ierusalimschy
|
84df3ac267
|
new functions "tostring", "assert", and "format".
|
1996-01-29 15:08:23 -02:00 |
|
Roberto Ierusalimschy
|
55a70c9719
|
"read('s')" was "eating" delimiter.
|
1996-01-29 14:40:09 -02:00 |
|