Roberto Ierusalimschy
|
2a506ea9d2
|
lua_linenumber is initialized in lex.c
|
1996-09-25 09:57:22 -03:00 |
Roberto Ierusalimschy
|
e5ec547eb3
|
"call" returns separate results, instead of a table.
|
1996-09-24 18:46:44 -03:00 |
Roberto Ierusalimschy
|
6d383202dc
|
"dofile" and "dostring" may return values.
|
1996-09-24 14:30:28 -03:00 |
Roberto Ierusalimschy
|
7b8166d7b3
|
a chunk may end with a return.
|
1996-09-24 14:29:50 -03:00 |
Roberto Ierusalimschy
|
3636bbad3a
|
new function "strrep"
|
1996-09-20 15:20:44 -03:00 |
Roberto Ierusalimschy
|
82f9f3e552
|
better structure to control stack interface lua-C.
beginblock-endblock keeps better control over stack
|
1996-09-20 09:51:16 -03:00 |
Roberto Ierusalimschy
|
c96ad1c945
|
"strmap" replaced by "strupper" and "strlower" (that's what people will
use, anyway).
"gsub" aceppts a function to give the replacement string.
|
1996-09-16 15:02:40 -03:00 |
Roberto Ierusalimschy
|
5b9fbfa006
|
"dostring" now stores the prefix of its string, to improve error messages.
|
1996-09-11 18:53:02 -03:00 |
Roberto Ierusalimschy
|
f0cc2d5506
|
BUG: a program ending in a comment without EOL made lex loops forever.
|
1996-09-09 11:11:11 -03:00 |
Roberto Ierusalimschy
|
d289ac81d3
|
functions may have tags CMARK and MARK, too.
|
1996-09-02 18:57:51 -03:00 |
Roberto Ierusalimschy
|
15791f93fe
|
lhf's corrections.
|
1996-08-28 17:46:26 -03:00 |
Roberto Ierusalimschy
|
d763b69740
|
skip first line of a lua file if it starts with a '#' (to allow shell
scripts).
|
1996-08-15 15:40:55 -03:00 |
Roberto Ierusalimschy
|
36dd1af92d
|
"[^]]" must mean "not ]".
|
1996-08-09 10:14:11 -03:00 |
Roberto Ierusalimschy
|
25b6dae7c0
|
singlematch and item_end are used by "read", in iolib.
|
1996-08-05 17:55:24 -03:00 |
Roberto Ierusalimschy
|
1630c2533a
|
Pattern-Matching!
plus several other changes...
|
1996-08-01 11:55:33 -03:00 |
Roberto Ierusalimschy
|
1d373d77de
|
more functions exported.
|
1996-08-01 11:55:33 -03:00 |
Roberto Ierusalimschy
|
f025b0d160
|
"pushnil" is not needed (default return is nil).
|
1996-08-01 11:55:33 -03:00 |
Roberto Ierusalimschy
|
cc02b4729b
|
new mod implementation (more portable).
|
1996-08-01 11:55:33 -03:00 |
Roberto Ierusalimschy
|
2bb3830fc1
|
"memcpy" is defined in "string.h".
|
1996-07-24 15:01:52 -03:00 |
Roberto Ierusalimschy
|
7a38bdd4b3
|
"exit" is defined in "stdlib".
|
1996-07-24 14:55:57 -03:00 |
Roberto Ierusalimschy
|
7614b17e85
|
very small corrections
|
1996-07-24 11:38:12 -03:00 |
Roberto Ierusalimschy
|
6dfdb76538
|
C functions don't need to "pushnil" to return nil value (this is
the default value).
|
1996-07-12 17:00:26 -03:00 |
Roberto Ierusalimschy
|
9a3c51cff1
|
new name for POSIX flag (this one turns on some posix stuff in standard
header files).
|
1996-07-06 17:20:35 -03:00 |
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 |