Commit Graph

  • 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. 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
  • f1a1eda7c5 old trick in "strsub" does not work with new hash table for strings. Roberto Ierusalimschy 1996-02-12 15:34:44 -03:00
  • 41259bff31 BIG CHANGE: new data structure for constants, strings and globals, using an array of hash tables for all them. Roberto Ierusalimschy 1996-02-12 15:32:40 -03:00
  • afaa98a666 no more "lua_pushliteral". Roberto Ierusalimschy 1996-02-12 15:32:09 -03:00
  • 73be918285 a backslash followed by a newline allows the newline to go into a string. Roberto Ierusalimschy 1996-02-09 17:35:23 -02:00
  • ca412214cb new function "date", replaces old "date" and "time". Roberto Ierusalimschy 1996-02-09 17:02:30 -02:00
  • 801722825d "lua_check_number" accepts strings convertible to numbers. Roberto Ierusalimschy 1996-02-09 17:00:23 -02:00
  • 3abc25fa54 new functions "random" and "randomseed". Roberto Ierusalimschy 1996-02-09 15:21:27 -02:00
  • f4d67761f1 new section describing the debug interface. Roberto Ierusalimschy 1996-02-09 14:37:58 -02:00
  • 369c5fe3c0 lock mechanism more robust; nil is pseudo-locked under index -1. Roberto Ierusalimschy 1996-02-08 17:08:34 -02:00
  • 7918c6cf11 small bug Roberto Ierusalimschy 1996-02-08 16:14:17 -02:00
  • 826d70fcba new type lua_Function for activation records Roberto Ierusalimschy 1996-02-08 15:03:20 -02:00
  • bbb23048e3 correction of dependencies (include's). Roberto Ierusalimschy 1996-02-07 16:14:38 -02:00
  • 5a3a1fe458 debug interface functions to manipulated local variables: "lua_getlocal" and "lua_setlocal". Roberto Ierusalimschy 1996-02-07 16:10:27 -02:00
  • 56fb06b6f5 "lua_debug" now is exported through debug interface (luadebug.h) Roberto Ierusalimschy 1996-02-07 12:14:40 -02:00
  • 995a9f7188 no more "Bool" type Roberto Ierusalimschy 1996-02-07 12:13:17 -02:00
  • a0ef046ef1 elimination of unused declarations (left from old modifications) Roberto Ierusalimschy 1996-02-06 14:18:21 -02:00
  • 5fa51fc426 new option "q" in function "write", to write literal strings. Roberto Ierusalimschy 1996-02-05 19:32:19 -02:00
  • 15057aa0a4 new examples showing data structures and object-oriented programming. generic improvements and corrections. Roberto Ierusalimschy 1996-02-05 12:52:47 -02:00
  • 1431b52e76 improve of compiling error messages. Roberto Ierusalimschy 1996-02-05 11:26:01 -02:00
  • 98fe770cab small bug Roberto Ierusalimschy 1996-02-04 14:59:12 -02:00
  • 43382ce5a2 new fallback "getglobal". Roberto Ierusalimschy 1996-01-30 13:25:23 -02:00
  • abfebf1e21 new example showing how to build modules. Roberto Ierusalimschy 1996-01-30 13:24:49 -02:00
  • b1c02c7f00 new fallback "getglobal". modifications to generate an index (not automatically yet). Roberto Ierusalimschy 1996-01-30 10:55:10 -02:00
  • 84df3ac267 new functions "tostring", "assert", and "format". Roberto Ierusalimschy 1996-01-29 15:08:23 -02:00
  • 55a70c9719 "read('s')" was "eating" delimiter. Roberto Ierusalimschy 1996-01-29 14:40:09 -02:00
  • 0d50b87aa4 lua_table now has references to global variable names (TreeNode's). Roberto Ierusalimschy 1996-01-26 16:03:19 -02:00
  • 19290a8e92 "dofile" issues an error when called with non string arguments, and runs stdin when called without arguments. Roberto Ierusalimschy 1996-01-26 14:52:47 -02:00
  • d845963349 "setglobal" and "getglobal" moved to inout.c, as it concentrates pre-defined library. new function "assert". Roberto Ierusalimschy 1996-01-26 12:05:28 -02:00
  • 8dae4657a1 "setglobal" and "getglobal" moved to inout.c, as it concentrates pre-defined library. Roberto Ierusalimschy 1996-01-26 12:04:32 -02:00
  • ca7be1cfeb elimination of function "int2str", as it can be replaced by "format('%c', .)" Roberto Ierusalimschy 1996-01-26 10:11:28 -02:00
  • 445872a6e2 "dofile" does not issue a warning when unable to open the file, but only returns an error code. Roberto Ierusalimschy 1996-01-23 16:43:07 -02:00
  • 3681d025ac new function "assert" Roberto Ierusalimschy 1996-01-23 16:39:45 -02:00
  • 2998049f51 local variable stack needs only the name of the variable (TreeNode); this way is simpler and faster than old way. Roberto Ierusalimschy 1996-01-23 15:50:29 -02:00
  • 24ccc7c038 correction of some order dependencies in debug code. Roberto Ierusalimschy 1996-01-22 16:39:37 -02:00
  • be48c4d91e add_char now is global. time returns week-day. Roberto Ierusalimschy 1996-01-22 15:46:55 -02:00
  • a19f9056f3 new function "tostring". Roberto Ierusalimschy 1996-01-22 15:40:00 -02:00
  • 5b71ab780c add_char now is global. new function format. Roberto Ierusalimschy 1996-01-22 15:38:57 -02:00
  • 481bafd581 add_char now is global. Roberto Ierusalimschy 1996-01-22 15:38:57 -02:00
  • e74b250d71 memory overflow tries a garbage collection; if it fails then exit the program. Roberto Ierusalimschy 1996-01-22 12:15:13 -02:00
  • cd54c95ee1 bug: "read" with format MUST read given number of chars (if file ends before that reports an error, returning nil). "readuntil" can be called with nil or no parameters to read until EOF. Roberto Ierusalimschy 1996-01-12 15:00:30 -02:00
  • bf006eeaf5 "getobjectname" got a "lua_" prefix. Roberto Ierusalimschy 1996-01-09 18:23:19 -02:00
  • b2afc410fa hooks for line change and function calls; first version. Roberto Ierusalimschy 1996-01-09 18:22:44 -02:00
  • 19cfa32393 correction of dependencies from "luadebug.h". Roberto Ierusalimschy 1996-01-09 18:22:08 -02:00
  • 27ae8432b6 names generated by yacc (starting with "yy") are changed to start with "luaY_", to avoid name clashes with hosts using yacc. Roberto Ierusalimschy 1995-12-21 14:14:04 -02:00
  • 415ee250b5 bug: luaI_findconstantbyname may change the value of lua_constant. Roberto Ierusalimschy 1995-12-18 14:47:29 -02:00
  • f188e1000b useless "#include math.h" Roberto Ierusalimschy 1995-11-16 18:46:24 -02:00
  • 07d64e78b6 reference manual Roberto Ierusalimschy 1995-11-16 18:46:02 -02:00
  • fa649fbc26 new distribution Roberto Ierusalimschy 1995-11-13 13:36:52 -02:00
  • 0c3e0fd95d "read" must return 'nil' on EOF. Roberto Ierusalimschy 1995-11-10 16:32:59 -02:00
  • 3bb6443131 changes to improve portability Roberto Ierusalimschy 1995-11-10 15:56:06 -02:00
  • f57afd6e32 re-implementation of functions "write" and "read" Roberto Ierusalimschy 1995-11-10 15:55:48 -02:00