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

Commit Graph

  • 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
  • ea169d2083 auxiliar functions from Lua API Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • c31aa863ac Auxiliar functions for building Lua libraries Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • ff08b0f406 Lua Function structures Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • c1801e623f Some generic functions over Lua objects Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • a404f6e0e6 Lua tables (hash) Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • 2d2440a753 Lua stand-alone interpreter Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • 0c4ed2b3dc main header file Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • b945fae40e Lua standard mathematical library Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • dadba4d6ed Interface to Memory Manager Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • d600a6b5b3 a generic input stream interface Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • 75ac0d2172 Standard library for strings and pattern-matching Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • 9f3785a2f3 Lua standard libraries Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • 84e92e0976 Debuging API Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • b8a049abed Global variables Roberto Ierusalimschy 1997-09-16 16:25:59 -03:00
  • e18f681333 very small corrections... Roberto Ierusalimschy 1997-09-16 16:01:10 -03:00
  • dd1aa28390 small optimization in opcodes for "and" and "or" Roberto Ierusalimschy 1997-08-04 16:15:05 -03:00