1
0
mirror of https://github.com/lua/lua synced 2026-06-08 15:34:49 +00:00

Commit Graph

  • 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". v2.4 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) v2.4-beta 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
  • 3e1f731826 integration with undump (execution of pre-compiled chuncks) Roberto Ierusalimschy 1996-03-15 10:13:13 -03:00
  • f86c1367db new functions "rename" and "tmpname". new option 'q' for function "format". new example, about vararg. Roberto Ierusalimschy 1996-03-14 14:45:01 -03:00
  • 58fd8aa851 added cast instead of union [lazy?] Luiz Henrique de Figueiredo 1996-03-14 14:31:15 -03:00
  • 3226ac2da8 "lua_ntable" and "lua_nconstant" are public (undump.c uses them). Roberto Ierusalimschy 1996-03-14 12:57:19 -03:00
  • 3e9daa7416 creation of strings must call garbage collector. Roberto Ierusalimschy 1996-03-14 12:56:26 -03:00
  • 7236df875a new function "luaI_buffer". Roberto Ierusalimschy 1996-03-14 12:55:49 -03:00
  • 675e608325 new functions "rename" and "tmpname". Roberto Ierusalimschy 1996-03-14 12:55:18 -03:00
  • 1dc0e82aeb "freefunc" now is public. Roberto Ierusalimschy 1996-03-14 12:54:20 -03:00
  • c2eb02aaf6 both "write" and "format" need "addquoted". Roberto Ierusalimschy 1996-03-14 12:53:09 -03:00
  • 2fee7e42c9 new option 'q' in function "format". Roberto Ierusalimschy 1996-03-14 12:52:35 -03:00
  • 281db390e8 no more "ugly" programs. no more comments with '#'. Roberto Ierusalimschy 1996-03-14 12:17:28 -03:00
  • df8cf53cc9 removed tf->marked=0; Luiz Henrique de Figueiredo 1996-03-12 17:00:40 -03:00
  • 40306b10db small corrections. Roberto Ierusalimschy 1996-03-12 12:56:03 -03:00
  • 5eff5d3eac moved some includes from undump.h LoadString now uses luaI_buffer added LoadNewString needs tf->marked=0 luaI_undump now returns int and aborts if luaI_dorun fails Luiz Henrique de Figueiredo 1996-03-11 19:01:46 -03:00
  • 8ad8426c43 moved some includes to undump.c luaI_undump now returns int Luiz Henrique de Figueiredo 1996-03-11 18:59:41 -03:00
  • 3cab7cd025 undump.c is now a module panic is now lua_error included swap.c tries float permutation earlier new functions: luaI_undump1 and luaI_undump Luiz Henrique de Figueiredo 1996-03-08 18:44:12 -03:00
  • bb26efbbec definitions for lua decompiler undump is now a module Luiz Henrique de Figueiredo 1996-03-08 18:43:21 -03:00
  • 5c0e5fd36d details. Roberto Ierusalimschy 1996-03-08 09:04:04 -03:00
  • 621322a305 "PrintCode" now is defined in luac. Roberto Ierusalimschy 1996-03-08 09:02:37 -03:00
  • e33a3b8e0d now loads size as two words Luiz Henrique de Figueiredo 1996-03-06 18:40:10 -03:00
  • 9a6cccb08c removed support for local vars Luiz Henrique de Figueiredo 1996-03-06 13:01:08 -03:00
  • b58225e93b unused declaration removed. Roberto Ierusalimschy 1996-03-06 10:11:23 -03:00
  • 852b919465 now swaps bytes (but need to make it more robust) Luiz Henrique de Figueiredo 1996-03-05 22:41:18 -03:00
  • ef94999647 parse.o was included twice in lua.a Roberto Ierusalimschy 1996-03-05 12:57:53 -03:00
  • 6f30fa98d8 small change to avoid error on "lua_pushstring(NULL)". Roberto Ierusalimschy 1996-03-04 11:46:35 -03:00
  • 74102bd716 small corrections. Roberto Ierusalimschy 1996-03-04 10:29:10 -03:00
  • 8d82aa821a small correction (about types) Roberto Ierusalimschy 1996-03-01 13:54:00 -03:00
  • cec1ffb80b uses ID_* constants simplified signature checking loads local vars Luiz Henrique de Figueiredo 1996-03-01 00:43:50 -03:00
  • 870967ca77 headers for Main and others are different Luiz Henrique de Figueiredo 1996-02-28 20:10:46 -03:00
  • 66fc0f554a using double to read numbers. Roberto Ierusalimschy 1996-02-26 19:35:51 -03:00
  • d6e4c29733 fixed strings (not collectable) don't need to be inserted in the constant table. Roberto Ierusalimschy 1996-02-26 18:00:27 -03:00
  • 3e42969979 main always reads "luac.out" Luiz Henrique de Figueiredo 1996-02-26 16:44:17 -03:00
  • 712ac505e0 small correction Roberto Ierusalimschy 1996-02-26 14:07:49 -03:00
  • f935d3397e check if jump is bigger than 2^16. Roberto Ierusalimschy 1996-02-26 14:07:20 -03:00
  • 30dd3a2dbc small changes (preparing for new module of pre-compilation) Roberto Ierusalimschy 1996-02-26 14:06:39 -03:00
  • b04f88d581 functions now linked into a list headed by main Luiz Henrique de Figueiredo 1996-02-24 13:44:28 -03:00
  • b3c10c8c41 fix to PUSHFUNCTION now correctly at tf->marked Luiz Henrique de Figueiredo 1996-02-24 00:46:57 -03:00
  • 5c1bd89a1c added fix to PUSHFUNCTION and support for main function Luiz Henrique de Figueiredo 1996-02-23 19:00:26 -03:00
  • 15f3ab09eb load bytecodes from files Luiz Henrique de Figueiredo 1996-02-23 16:04:38 -03:00
  • c7e834f424 function "write_quoted" rewritten more clearly. Roberto Ierusalimschy 1996-02-22 17:56:33 -03:00
  • 8c1a9899d4 functions "luaI_free" and "luaI_realloc" (or macro "growvector") may be called with NULL. Roberto Ierusalimschy 1996-02-22 17:34:33 -03:00
  • 05caf09a36 list of incompatibilities with version 2.2. new macro \Version. v2.3-beta Roberto Ierusalimschy 1996-02-16 10:12:12 -03:00
  • 168a865e60 more appropriate error message for "date" Roberto Ierusalimschy 1996-02-16 10:10:14 -03:00
  • 15c17c24fa small improvements Roberto Ierusalimschy 1996-02-14 16:11:09 -03:00
  • 45cf24485d useless #include. Roberto Ierusalimschy 1996-02-14 15:25:04 -03:00
  • c56e2b2e30 new version Roberto Ierusalimschy 1996-02-14 10:40:26 -03:00
  • d1608c597e reserved words are stored in main string table; "marked" field is used to indicate its type. Table initializations centralized by "tree.c". Roberto Ierusalimschy 1996-02-14 10:35:51 -03:00
  • 0f4903a5d7 new header "lex.h". Roberto Ierusalimschy 1996-02-13 14:30:39 -03:00
  • 772f25d3dd new header for lex.c Roberto Ierusalimschy 1996-02-13 14:30:39 -03:00