Commit Graph

  • f76bca23ef variants for "ARGS". Roberto Ierusalimschy 1997-12-30 17:08:23 -02:00
  • a5fd7d722c opctional "base" in "tonumber" convertion. Roberto Ierusalimschy 1997-12-30 15:57:45 -02:00
  • 4e0bf95622 variant opcodes for PUSHSELF Roberto Ierusalimschy 1997-12-29 15:35:46 -02:00
  • 498a934abf new syntax possibilities: f(x).x, etc; on the other hand, "function ... (x)" now is more restricted. Roberto Ierusalimschy 1997-12-29 15:28:45 -02:00
  • ce53872684 new syntax: f´s´ for f(´s´). Roberto Ierusalimschy 1997-12-28 20:48:15 -02:00
  • da96eb2cce some details related to OLD_ANSI Roberto Ierusalimschy 1997-12-26 16:38:16 -02:00
  • fada8efd01 "rand()", in SunOS, may return values bigger than "RAND_MAX"... Roberto Ierusalimschy 1997-12-26 16:36:31 -02:00
  • d916487d7c auxlib split in two parts (lauxlib and lbuffer) Roberto Ierusalimschy 1997-12-23 17:24:36 -02:00
  • 1bf762ba38 Generic buffer facilities for Lua (and libraries) Roberto Ierusalimschy 1997-12-23 17:24:36 -02:00
  • 541e722360 details Roberto Ierusalimschy 1997-12-23 17:24:19 -02:00
  • 807ba6301c error method *always* gets a string (otherwise it is not called at all) Roberto Ierusalimschy 1997-12-23 10:50:49 -02:00
  • 03f3f9e707 "zio" now keeps its "name". Roberto Ierusalimschy 1997-12-22 18:57:18 -02:00
  • a78eecee48 details (aborts with invalid arguments) Roberto Ierusalimschy 1997-12-22 18:03:50 -02:00
  • 43461d267f help message Roberto Ierusalimschy 1997-12-22 16:05:23 -02:00
  • fae0b52825 small bugs in error report Roberto Ierusalimschy 1997-12-22 15:52:20 -02:00
  • 22439a7511 new syntax for constructors (a={n=3;1,2,3}). Roberto Ierusalimschy 1997-12-22 15:24:11 -02:00
  • 7ecc3ce827 new command line options Roberto Ierusalimschy 1997-12-19 16:34:23 -02:00
  • 4e91384e14 sorting the includes... Roberto Ierusalimschy 1997-12-18 17:11:43 -02:00
  • de79e7fc58 back to "lua_upvalue"... (seems better choice) Roberto Ierusalimschy 1997-12-18 16:32:39 -02:00
  • 8b5b42563c "lua_dobuffer" (is not official, but its there...) Roberto Ierusalimschy 1997-12-17 18:57:20 -02:00
  • 502343b402 new scheme for buffers, centralized in auxlib. Roberto Ierusalimschy 1997-12-17 18:48:58 -02:00
  • 82d09fbf0d new structure for closures, without static variables. Roberto Ierusalimschy 1997-12-15 15:58:49 -02:00
  • 9be85d1648 new year Roberto Ierusalimschy 1997-12-15 15:47:55 -02:00
  • 45e533599f optimization: closures without upvalues don't need to be closures Roberto Ierusalimschy 1997-12-15 14:17:20 -02:00
  • 94144a7821 otimization: closures without upvalues don't need to be closures Roberto Ierusalimschy 1997-12-15 14:17:20 -02:00
  • 4daae2165d new API function and built-in "lua_copytagmethods" Roberto Ierusalimschy 1997-12-11 15:21:11 -02:00
  • cdd261f332 new option "-q" (quiet), and multi-line commands (ending with '\') Roberto Ierusalimschy 1997-12-11 15:00:21 -02:00
  • 034f16892e better treatment of MARKs and DEBUG cases. Roberto Ierusalimschy 1997-12-11 12:48:46 -02:00
  • c759520bc8 safer way to put #defines in error messages... Roberto Ierusalimschy 1997-12-09 14:01:08 -02:00
  • 80b3d28f4a details (mainly error messages) Roberto Ierusalimschy 1997-12-09 11:50:08 -02:00
  • 69d97712ec arguments "var=value" doesn't need quotes for value Roberto Ierusalimschy 1997-12-03 17:57:54 -02:00
  • 5d89dad9b8 bug log Roberto Ierusalimschy 1997-12-02 10:46:15 -02:00
  • 525a91fed3 BUG: "lastline" was not reset on function entry, so debug information started only in the 2nd line of a function. Roberto Ierusalimschy 1997-12-02 10:43:54 -02:00
  • 868d16dee0 comments Roberto Ierusalimschy 1997-12-02 10:43:44 -02:00
  • 3393fd7f25 first version of "lua_close" Roberto Ierusalimschy 1997-12-01 18:31:25 -02:00
  • 00c122cc29 other distribution of memory debug information. Roberto Ierusalimschy 1997-12-01 18:30:44 -02:00
  • 03160920cf store "functofind" in stack top, so doesn't need this field in global state. Roberto Ierusalimschy 1997-11-28 14:56:05 -02:00
  • b42cc6a4d2 no more protected global variables; using upvalues to store tags. Roberto Ierusalimschy 1997-11-28 10:40:37 -02:00
  • a6ad644bf2 no more protected global variables Roberto Ierusalimschy 1997-11-28 10:39:45 -02:00
  • 39fd5bb9b0 details Roberto Ierusalimschy 1997-11-28 10:39:22 -02:00
  • 5482992dec other access method for C upvalues (as arguments) Roberto Ierusalimschy 1997-11-27 16:25:14 -02:00
  • 024528e0c2 global variables starting with '.' are protected in Lua (temporarily at least...) Roberto Ierusalimschy 1997-11-27 13:59:44 -02:00
  • ef37c87e93 no more 'globalbag' Roberto Ierusalimschy 1997-11-27 13:59:25 -02:00
  • 9e029f98b9 details Roberto Ierusalimschy 1997-11-26 18:44:52 -02:00
  • e962330df9 "stacklimit" is not necessary. Roberto Ierusalimschy 1997-11-26 18:28:22 -02:00
  • b291e50006 extra argument for "assert" Roberto Ierusalimschy 1997-11-26 17:40:27 -02:00
  • 9ae0c082a3 small details by lint. Roberto Ierusalimschy 1997-11-26 16:53:45 -02:00
  • accd7bc253 small modifications (format, small optimizations, etc) Roberto Ierusalimschy 1997-11-21 17:00:46 -02:00
  • 6153200bc2 make sure there is no mem problems, using %.ns instead of %s for luaV_error. Roberto Ierusalimschy 1997-11-19 16:16:33 -02:00
  • 2e7595522d allows '\r' at the end of pragmas, so one can mix Windows and Unix files Roberto Ierusalimschy 1997-11-19 15:35:47 -02:00
  • b79ffdc4ce global state for Lua interpreter Roberto Ierusalimschy 1997-11-19 15:31:19 -02:00
  • 592a3f289b first implementation of centralized global state. Roberto Ierusalimschy 1997-11-19 15:29:23 -02:00
  • 9cdeb275e7 details Roberto Ierusalimschy 1997-11-10 15:47:01 -02:00
  • c957b270d2 "call" now handles errors (instead of "dostring") Roberto Ierusalimschy 1997-11-07 16:19:13 -02:00
  • 92791b9dd6 small details Roberto Ierusalimschy 1997-11-07 13:09:49 -02:00
  • 45cad43c3f "lua_open": now lua has an explicit open operation. Roberto Ierusalimschy 1997-11-04 13:27:53 -02:00
  • dad5a01fb0 trigonometric mode stored in a Lua global variable. Roberto Ierusalimschy 1997-11-03 19:11:44 -02:00
  • 66713181c1 no need of "emergency error"... Roberto Ierusalimschy 1997-11-03 19:00:23 -02:00
  • 7135803cc8 "global" version of a nil object. Roberto Ierusalimschy 1997-11-03 18:45:23 -02:00
  • b7567b6673 "read" & "write" may receive a file handler as first argument Roberto Ierusalimschy 1997-10-30 18:29:09 -02:00
  • f8c95fa9e8 new "block" syntax (DO ... END) Roberto Ierusalimschy 1997-10-30 16:47:19 -02:00
  • 9c965d0ffb more precise error messages for compiler limits. Roberto Ierusalimschy 1997-10-28 15:26:53 -02:00
  • 6103dca8ee small bug. Roberto Ierusalimschy 1997-10-27 14:14:37 -02:00
  • 18cd7adac6 optimization to handle <a.x> (new opcode). Roberto Ierusalimschy 1997-10-24 16:40:29 -02:00
  • 41223a01ec definition of "PI" and modes for angles. Roberto Ierusalimschy 1997-10-24 15:44:22 -02:00
  • e78cf96c97 first version of Cclosures. Roberto Ierusalimschy 1997-10-24 15:17:24 -02:00
  • 0cb3843956 "foreach" and "foreachvar" more robust (to survive GCs), and with termination test. Roberto Ierusalimschy 1997-10-23 14:28:48 -02:00
  • 907368ead5 GC now considers an "estimate" of object size, instead of just the number of objects. Roberto Ierusalimschy 1997-10-23 14:26:37 -02:00
  • 81489beea1 functions may use many upvalues, to keep global values. Roberto Ierusalimschy 1997-10-18 14:46:39 -02:00
  • ac30aad09b new functions "foreach" and "foreachvar" Roberto Ierusalimschy 1997-10-18 14:33:36 -02:00
  • 2c89651fc6 macro "val" should live together with macro "ref". Roberto Ierusalimschy 1997-10-18 14:29:15 -02:00
  • 3a89c973ff details Roberto Ierusalimschy 1997-10-16 19:14:47 -02:00
  • 52d5e8032c better identification of types which are tags Roberto Ierusalimschy 1997-10-16 18:07:40 -02:00
  • 19c178fa14 new (smaller) prompt Roberto Ierusalimschy 1997-10-16 16:35:59 -02:00
  • 45ccb0e881 "nupvalues" is kept in Closure, not in prototype (as a preparation for C closures...) Roberto Ierusalimschy 1997-10-16 08:59:34 -02:00
  • 4be18fa889 details Roberto Ierusalimschy 1997-10-15 18:16:00 -02:00
  • 7c261a13b5 more uniform treatment to opcode variants. Roberto Ierusalimschy 1997-10-13 20:12:04 -02:00
  • 2bb94d9e22 using bison instead of yacc; lparser.c renamed to lstx.c (to avoid confusion with lparser.h...) Roberto Ierusalimschy 1997-10-13 20:10:45 -02:00
  • a3235ad270 prompt for interactive mode Roberto Ierusalimschy 1997-10-06 12:51:32 -02:00
  • f6a9cc9a67 jumps are relative to next instruction Roberto Ierusalimschy 1997-10-06 12:51:11 -02:00
  • 28d47a0aaa all jumps have byte variants; WHILE optimization Roberto Ierusalimschy 1997-10-01 17:05:34 -03:00
  • eb617df2d8 better way to traverse GCnode lists. Roberto Ierusalimschy 1997-09-26 13:46:20 -03:00
  • a580480b07 new implementation for globals: Global value is stored in TaggedString Roberto Ierusalimschy 1997-09-26 12:02:26 -03:00
  • 0dd6d1080e new opcode variants. Roberto Ierusalimschy 1997-09-24 16:43:11 -03:00
  • 3c820d622e better control over closed files Roberto Ierusalimschy 1997-09-23 11:12:44 -03:00
  • d6c867ea50 better way to cope with opcode variants Roberto Ierusalimschy 1997-09-22 17:53:20 -03:00
  • 2079cfe8fa new way to code globals, using const table instead of putting global index inside the opcode. Roberto Ierusalimschy 1997-09-19 18:17:52 -03:00
  • dfe03c7abe small optimizations (bit scrubbing) Roberto Ierusalimschy 1997-09-19 15:40:32 -03:00
  • 8cd67ac676 Syntax analizer and code generator Roberto Ierusalimschy 1997-09-16 16:33:21 -03:00
  • 9828893f7e Makefile Roberto Ierusalimschy 1997-09-16 16:33:21 -03:00
  • 6990da0057 Lua virtual machine Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • d985dc0629 Opcodes for Lua virtual machine Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • 451124005b Standard I/O (and system) library Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • 2f1fa3d427 Type definitions for Lua objects Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • 189d64409b Garbage Collector Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • 60cc473bcf Lexical Analizer Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • 43a2ee6ea1 Stack and Call structure of Lua Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • 4b91e9cde6 Tag methods Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • 26c5f56ad1 Built-in functions Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • daa858ef27 String table (keep all strings handled by Lua) Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00