Commit Graph

  • 169870e37d BUG: ISO chars are negative, ISO ints are not. Roberto Ierusalimschy 1996-11-20 11:47:59 -02:00
  • 78e454d864 BUG: ISO chars are negative, ISO ints are not. new "balanced" pattern. Roberto Ierusalimschy 1996-11-20 11:47:59 -02:00
  • dbfe28e199 correction in inheritance code in C Roberto Ierusalimschy 1996-11-18 12:27:42 -02:00
  • d59c52753f undump needs file in binary mode Roberto Ierusalimschy 1996-11-18 11:48:44 -02:00
  • 62e1a4c84d BUG: problems with negative indexes Roberto Ierusalimschy 1996-11-18 11:48:44 -02:00
  • 81411e8913 headers includes sizeof(Word) not sizeof(int) Luiz Henrique de Figueiredo 1996-11-18 09:18:29 -02:00
  • 62aa717f7e stdlib.h for exit blocks are void* Luiz Henrique de Figueiredo 1996-11-16 18:14:23 -02:00
  • a5614eae3c spelling corrections. Roberto Ierusalimschy 1996-11-14 15:45:37 -02:00
  • 536bae5871 corrected version test (0x23 not 23) Luiz Henrique de Figueiredo 1996-11-14 13:00:32 -02:00
  • 679eddf296 Luiz Henrique de Figueiredo 1996-11-14 11:33:15 -02:00
  • d991def36c added 3 new bytes to header (sizeof's) Luiz Henrique de Figueiredo 1996-11-14 09:44:34 -02:00
  • 8b195533d2 new header version Luiz Henrique de Figueiredo 1996-11-14 09:44:34 -02:00
  • 3ccdd57c26 new version Roberto Ierusalimschy 1996-11-12 14:00:16 -02:00
  • a103455dda better format for error messages. Roberto Ierusalimschy 1996-11-08 17:08:30 -02:00
  • 60242e1930 error message for syntax "1..2"; syntax error function is in "lex.c" (it has the token) Roberto Ierusalimschy 1996-11-08 10:49:35 -02:00
  • a0e9bfbb48 syntax error function is in "lex.c" (it has the token) Roberto Ierusalimschy 1996-11-08 10:49:35 -02:00
  • 2f19e0ba16 SunOS is not ANSI about the return value of "sprintf". Roberto Ierusalimschy 1996-11-07 18:26:19 -02:00
  • ab7fdcbbed corrected copyright notice Roberto Ierusalimschy 1996-11-07 18:26:08 -02:00
  • 48cf1de356 replaced unions by memcpy Luiz Henrique de Figueiredo 1996-11-07 12:13:28 -02:00
  • 8d50122af0 replaced unions by memcpy Luiz Henrique de Figueiredo 1996-11-07 11:59:51 -02:00
  • fd379b38f7 new flag for STRERROR; libs now are called lib... Roberto Ierusalimschy 1996-11-06 18:48:03 -02:00
  • aa4d865077 anna's comments Roberto Ierusalimschy 1996-11-06 18:26:56 -02:00
  • 3e94febfc1 pragmas should not be recognized inside literal strings. Roberto Ierusalimschy 1996-11-06 18:24:29 -02:00
  • 243b3a1a47 i/o functions return an error message Roberto Ierusalimschy 1996-11-01 16:02:53 -02:00
  • 389e808c60 although an ANSI function, some systems do not offer "strerror" Roberto Ierusalimschy 1996-11-01 15:54:41 -02:00
  • 450465c4d4 new parameters for "read" and "write". BIG CHANGE. Roberto Ierusalimschy 1996-11-01 15:03:36 -02:00
  • 2f44cc9f4d new pattern matching facilities; new version of i/o lib; other small corrections. Roberto Ierusalimschy 1996-11-01 15:02:10 -02:00
  • d106f3f43c pre-defined variable _VERSION_ Roberto Ierusalimschy 1996-11-01 10:47:45 -02:00
  • bf3091d94f new version number Roberto Ierusalimschy 1996-11-01 10:46:59 -02:00
  • 4dbf7285a8 small omission corrected ("s_tsvalue") Roberto Ierusalimschy 1996-11-01 10:46:59 -02:00
  • a1e41e3a12 small corrections in error messages Roberto Ierusalimschy 1996-10-31 18:18:05 -02:00
  • 9d0044ce53 "strfind" has an extra parameter to turn off all special characteres. Roberto Ierusalimschy 1996-10-31 15:26:04 -02:00
  • 37bf74efb7 some compilers do not accept "stdin"/"stdout" as constants. Roberto Ierusalimschy 1996-10-16 18:22:34 -02:00
  • 8c37d3b9d6 documentation of opcode meanings (thanks to lhf) Roberto Ierusalimschy 1996-09-26 18:08:41 -03:00
  • 0af581f0bf new way to handle pragmas (at the lexical level, instead of parsing). Roberto Ierusalimschy 1996-09-25 18:52:00 -03:00
  • 2a506ea9d2 lua_linenumber is initialized in lex.c Roberto Ierusalimschy 1996-09-25 09:57:22 -03:00
  • e5ec547eb3 "call" returns separate results, instead of a table. Roberto Ierusalimschy 1996-09-24 18:46:44 -03:00
  • 6d383202dc "dofile" and "dostring" may return values. Roberto Ierusalimschy 1996-09-24 14:30:28 -03:00
  • 7b8166d7b3 a chunk may end with a return. Roberto Ierusalimschy 1996-09-24 14:29:50 -03:00
  • 3636bbad3a new function "strrep" Roberto Ierusalimschy 1996-09-20 15:20:44 -03:00
  • 82f9f3e552 better structure to control stack interface lua-C. beginblock-endblock keeps better control over stack Roberto Ierusalimschy 1996-09-20 09:51:16 -03:00
  • c96ad1c945 "strmap" replaced by "strupper" and "strlower" (that's what people will use, anyway). "gsub" aceppts a function to give the replacement string. Roberto Ierusalimschy 1996-09-16 15:02:40 -03:00
  • 5b9fbfa006 "dostring" now stores the prefix of its string, to improve error messages. Roberto Ierusalimschy 1996-09-11 18:53:02 -03:00
  • f0cc2d5506 BUG: a program ending in a comment without EOL made lex loops forever. Roberto Ierusalimschy 1996-09-09 11:11:11 -03:00
  • d289ac81d3 functions may have tags CMARK and MARK, too. Roberto Ierusalimschy 1996-09-02 18:57:51 -03:00
  • 15791f93fe lhf's corrections. Roberto Ierusalimschy 1996-08-28 17:46:26 -03:00
  • d763b69740 skip first line of a lua file if it starts with a '#' (to allow shell scripts). Roberto Ierusalimschy 1996-08-15 15:40:55 -03:00
  • 36dd1af92d "[^]]" must mean "not ]". Roberto Ierusalimschy 1996-08-09 10:14:11 -03:00
  • 25b6dae7c0 singlematch and item_end are used by "read", in iolib. Roberto Ierusalimschy 1996-08-05 17:55:24 -03:00
  • 1630c2533a Pattern-Matching! plus several other changes... Roberto Ierusalimschy 1996-08-01 11:55:33 -03:00
  • 1d373d77de more functions exported. Roberto Ierusalimschy 1996-08-01 11:55:33 -03:00
  • f025b0d160 "pushnil" is not needed (default return is nil). Roberto Ierusalimschy 1996-08-01 11:55:33 -03:00
  • cc02b4729b new mod implementation (more portable). Roberto Ierusalimschy 1996-08-01 11:55:33 -03:00
  • 2bb3830fc1 "memcpy" is defined in "string.h". Roberto Ierusalimschy 1996-07-24 15:01:52 -03:00
  • 7a38bdd4b3 "exit" is defined in "stdlib". Roberto Ierusalimschy 1996-07-24 14:55:57 -03:00
  • 7614b17e85 very small corrections Roberto Ierusalimschy 1996-07-24 11:38:12 -03:00
  • 6dfdb76538 C functions don't need to "pushnil" to return nil value (this is the default value). Roberto Ierusalimschy 1996-07-12 17:00:26 -03:00
  • 9a3c51cff1 new name for POSIX flag (this one turns on some posix stuff in standard header files). Roberto Ierusalimschy 1996-07-06 17:20:35 -03:00
  • 6336d2f9e1 flag for direct execution is "-e"; argument with an "=" goes to direct execution, independently of flags. Roberto Ierusalimschy 1996-07-05 17:55:43 -03:00
  • ec6677e551 when "block" is computed, "nentity" == "block". So the change is only a simpler way to write the same expression. Roberto Ierusalimschy 1996-06-18 18:12:23 -03:00
  • 20cbca699a "lua_dofile" has a more informative return code. Roberto Ierusalimschy 1996-06-18 17:08:40 -03:00
  • 3211a9648a "lua_dofile" returns different error codes if it could not open the file Roberto Ierusalimschy 1996-06-10 16:36:24 -03:00
  • 0baa915343 new option "-x" to execute a string given as argument. Roberto Ierusalimschy 1996-06-10 16:35:46 -03:00
  • 5cddb264d4 lexical analiser may use luaI_buffer, instead of waste space with a separate buffer. Roberto Ierusalimschy 1996-05-30 11:04:07 -03:00
  • 9863223fbf first version of vararg facility (plus new function "call"). Roberto Ierusalimschy 1996-05-28 18:07:32 -03:00
  • 9a1948e67d small correction. Roberto Ierusalimschy 1996-05-27 11:06:58 -03:00
  • f9deeac632 "luaI_malloc(s)" is just a macro to "luaI_realloc(NULL, s)". Roberto Ierusalimschy 1996-05-24 11:31:10 -03:00
  • 29f0021837 variables which contain string lengths must be long (if they also may be negative) or size_t. Roberto Ierusalimschy 1996-05-22 18:59:07 -03:00
  • 7acddb871d memory manager for old versions of Lua. It should be in RCS since the beginning. Roberto Ierusalimschy 1996-05-06 18:37:28 -03:00
  • a7ca46405d unused "#include". Roberto Ierusalimschy 1996-05-06 13:59:00 -03:00
  • 0e2297afaa update of dependencies from "#include"s. Roberto Ierusalimschy 1996-05-06 11:38:40 -03:00
  • 0a1891f6a0 new version. Roberto Ierusalimschy 1996-05-06 11:32:59 -03:00
  • 1936a9e53b tables may grow bigger than words. Roberto Ierusalimschy 1996-05-06 11:30:27 -03:00
  • 820ec63bdf as strings are no more duplicated, "nextvar" can use "pushstring". Roberto Ierusalimschy 1996-05-06 11:29:35 -03:00
  • 01ea523b80 small corrections. Roberto Ierusalimschy 1996-05-03 17:10:59 -03:00
  • 88cf0836fc "isatty" is POSIX, but not ANSI. Roberto Ierusalimschy 1996-05-03 14:27:03 -03:00
  • 3ec9ee0d0f new function "luaI_openlib" to help open libs. Roberto Ierusalimschy 1996-04-30 18:13:55 -03:00
  • 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. Roberto Ierusalimschy 1996-04-29 15:53:53 -03:00
  • 4fb77c4308 no more "lua_Reference"; new return value for "append"; documentation of "exit" (it was not in the manual). Roberto Ierusalimschy 1996-04-29 15:50:08 -03:00
  • bced00ab9e lua_Reference is int, so say so. Roberto Ierusalimschy 1996-04-25 11:10:00 -03:00
  • 25116a3065 "malloc.h" is not ansi. Roberto Ierusalimschy 1996-04-25 11:01:27 -03:00
  • eadbb9cff4 "stat" is not ansi. Roberto Ierusalimschy 1996-04-23 09:43:07 -03:00
  • 42b947296b "fileno" is not ansi. Roberto Ierusalimschy 1996-04-23 09:43:07 -03:00
  • f37e65d1cb "exit" has an optional parameter of status. Roberto Ierusalimschy 1996-04-22 16:28:37 -03:00
  • 0ef5cf2289 lock mechanism seperseded by the REFERENCE mechanism. Roberto Ierusalimschy 1996-04-22 15:00:37 -03:00
  • fed9408ab5 page size "letter". Roberto Ierusalimschy 1996-04-01 11:36:35 -03:00
  • ce23901f04 smaller limit to stack size (otherwise C stack can finish first) Roberto Ierusalimschy 1996-03-22 16:12:15 -03:00
  • df1ee1fb1c small "abstraction" Roberto Ierusalimschy 1996-03-22 14:57:24 -03:00
  • f1d0276684 small bug in strfind. Roberto Ierusalimschy 1996-03-21 19:18:08 -03:00
  • 7ecc2ea597 new version Roberto Ierusalimschy 1996-03-21 18:30:29 -03:00
  • 7a35f23c16 a simplification about memory error messages. Roberto Ierusalimschy 1996-03-21 15:55:02 -03:00
  • 9284742a11 better control when growing arrays. Roberto Ierusalimschy 1996-03-21 13:33:47 -03:00
  • 9704ff4cb1 hook variables are global, no more "lua_set...hook" functions. Roberto Ierusalimschy 1996-03-20 15:44:02 -03:00
  • e3c0ce9a69 dofile accepts pre-compiled chunks. lua_is... do coercion. small correction: = versus ==. Roberto Ierusalimschy 1996-03-19 19:39:07 -03:00
  • 85b76bcc01 functions "lua_is..." consider coercions. small change when calling call hook. Roberto Ierusalimschy 1996-03-19 19:28:37 -03:00
  • a275d9a25b functions "lua_is..." consider coercions. Roberto Ierusalimschy 1996-03-19 19:28:37 -03:00
  • 7e0be1fbde unused "#include" Roberto Ierusalimschy 1996-03-19 13:50:24 -03:00
  • 54ba642cc3 new module "undump.o" Roberto Ierusalimschy 1996-03-15 15:22:09 -03:00
  • 8826eb7918 small correction Roberto Ierusalimschy 1996-03-15 15:21:58 -03:00
  • e701a86385 "openfile" now returns the file Roberto Ierusalimschy 1996-03-15 10:13:13 -03:00