Commit Graph

  • 8e3bd752bb small optimization in "sort" + new functions "getn" and "foreachi" Roberto Ierusalimschy 1998-11-13 14:39:18 -02:00
  • a84bca67fc bug: gsub/strfind do not check whether captures are properly finished. Roberto Ierusalimschy 1998-11-10 17:38:12 -02:00
  • 4ccfb2f9bc "_TRIGMODE" was still being declared. Roberto Ierusalimschy 1998-09-08 16:25:35 -03:00
  • ce9609296c function "luaL_argerror" prints wrong argument number (from a user's point of view) when functions have upvalues. Roberto Ierusalimschy 1998-09-07 15:59:59 -03:00
  • b1450721be new function "lua_nups" (number of upvalues). Roberto Ierusalimschy 1998-09-07 15:59:59 -03:00
  • b04294d3d8 details. Roberto Ierusalimschy 1998-08-30 17:25:24 -03:00
  • 22c2704842 "lua_state" is already declared in lua.h, which is included here. Roberto Ierusalimschy 1998-08-30 15:28:58 -03:00
  • ee22af5ced new functions "seek" and "flush". Roberto Ierusalimschy 1998-08-24 17:14:56 -03:00
  • cc117253c8 new implementation for error handling: on error, function _ERRORMESSAGE is called, which in turn calls _ALERT to write a message to stderr. Roberto Ierusalimschy 1998-08-21 14:43:44 -03:00
  • 8e226e6a09 small bug: nuse may change when table is rehashed; 3/2 is a good fraction for hash limit (instead of 0.7, using floats) Roberto Ierusalimschy 1998-08-11 13:38:34 -03:00
  • 1d420c2c11 better error message for code too long (old one was misleading when the problem was SETLINE after 64k lines...) Roberto Ierusalimschy 1998-08-11 10:28:05 -03:00
  • 5378331f2d hash tables may shrink if use rate is too small. Roberto Ierusalimschy 1998-08-10 18:36:32 -03:00
  • 894a264671 new hash function. Roberto Ierusalimschy 1998-07-27 14:06:17 -03:00
  • e1a127245d details ("luaX_token2str" doesn't need LexState) Roberto Ierusalimschy 1998-07-24 15:02:38 -03:00
  • afb5ef72e1 new function "sort" + many small changes Roberto Ierusalimschy 1998-07-12 13:16:43 -03:00
  • 1d8edd347d small changes to use new auxiliar functions Roberto Ierusalimschy 1998-07-12 13:16:02 -03:00
  • 41d9ea948c auxiliar functions "luaH_setint" & "luaH_getint". Roberto Ierusalimschy 1998-07-12 13:15:19 -03:00
  • ee912e5a7f auxiliar function "luaD_calln". Roberto Ierusalimschy 1998-07-12 13:14:34 -03:00
  • ad446a0eb0 "%q" can handle strings with '\0'. Roberto Ierusalimschy 1998-07-12 13:13:45 -03:00
  • 176cb39feb macro encapsulates de "-". Roberto Ierusalimschy 1998-07-12 13:11:55 -03:00
  • 64ad009fb2 "fileName" cannot be NULL Roberto Ierusalimschy 1998-07-12 13:10:38 -03:00
  • dcb1a08906 "exp" changed to "exp0" to avoid problems with math.h. v3.1 Roberto Ierusalimschy 1998-07-06 19:07:51 -03:00
  • 1788501eed double constant used in integer expression Roberto Ierusalimschy 1998-07-06 19:04:58 -03:00
  • bee1a5aeb2 spelling Roberto Ierusalimschy 1998-07-01 11:21:57 -03:00
  • 994aba062b when debuging, blocks must be kept in double allignment. Roberto Ierusalimschy 1998-06-29 19:03:06 -03:00
  • e869d17eb1 functions should return explicit "nil"s. Roberto Ierusalimschy 1998-06-29 15:24:06 -03:00
  • 9a0221ef58 detail Roberto Ierusalimschy 1998-06-29 15:09:28 -03:00
  • 07008b5d45 details (by lhf) Roberto Ierusalimschy 1998-06-25 13:48:44 -03:00
  • 8f31eda649 details in comments Roberto Ierusalimschy 1998-06-25 11:37:00 -03:00
  • da94130160 stupid bug (in syntax print "hello") Roberto Ierusalimschy 1998-06-24 11:48:15 -03:00
  • 468fbdbde7 details Roberto Ierusalimschy 1998-06-24 10:33:00 -03:00
  • eb45f8b631 details (dependencies) Roberto Ierusalimschy 1998-06-19 15:52:27 -03:00
  • df0df08bc5 "dostring" accepts chunk name. Roberto Ierusalimschy 1998-06-19 15:47:06 -03:00
  • 9618aaf07d small corrections in comments Roberto Ierusalimschy 1998-06-19 13:14:09 -03:00
  • bec9bc4154 sugestions by lhf Roberto Ierusalimschy 1998-06-18 14:36:27 -03:00
  • 955a811aa1 category for "setlocale" is given by name Roberto Ierusalimschy 1998-06-18 14:04:28 -03:00
  • c9902be294 "findname" moved from lobject.c to lauxlib.c (so libraries may use it). Roberto Ierusalimschy 1998-06-18 13:57:03 -03:00
  • 112c9d53ab new version by lhf Roberto Ierusalimschy 1998-06-18 13:52:04 -03:00
  • 0789451458 details Roberto Ierusalimschy 1998-06-18 13:51:53 -03:00
  • d97af0de26 "lua_dobuffer" gets an extra argument, with the chunk name Roberto Ierusalimschy 1998-06-15 18:34:14 -03:00
  • 1917149fdd details. Roberto Ierusalimschy 1998-06-11 15:21:37 -03:00
  • 0845e73b6a new copyright notice Roberto Ierusalimschy 1998-06-06 18:05:52 -03:00
  • 7dfa952091 no more error for '\x' (with "invalid" x) Roberto Ierusalimschy 1998-06-06 17:44:05 -03:00
  • 02134b4a87 name: lua_pushCclosure -> lua_pushcclosure. Roberto Ierusalimschy 1998-06-05 19:17:44 -03:00
  • bdb1db4d37 "read" more efficient when reading lines and whole files ('.*') Roberto Ierusalimschy 1998-06-02 18:20:54 -03:00
  • 02a6891939 API for functions to manipulate global state. Roberto Ierusalimschy 1998-06-02 17:37:04 -03:00
  • 741c6f5006 'dobuffer' addpoted. Roberto Ierusalimschy 1998-05-31 19:22:00 -03:00
  • 6152973f9c new names for 'ascii' ('strbyte') and 'int2str' ('strchar') Roberto Ierusalimschy 1998-05-31 19:20:45 -03:00
  • 243a808067 'print' now calls 'tostring' Roberto Ierusalimschy 1998-05-31 19:19:35 -03:00
  • 62c36a6056 better error message when '^' is not defined. Roberto Ierusalimschy 1998-05-31 19:18:24 -03:00
  • 74719afc33 new functions "frexp" and "ldexp" Roberto Ierusalimschy 1998-05-27 16:09:39 -03:00
  • 7e59a8901d NEW LL(1) PARSER Roberto Ierusalimschy 1998-05-27 10:08:34 -03:00
  • abc6eac404 new function "clock" Roberto Ierusalimschy 1998-05-20 19:21:35 -03:00
  • 054e0b888a number type in Lua changed for double (by default). Roberto Ierusalimschy 1998-05-18 19:26:03 -03:00
  • da252eeff7 arguments for "format" 'x', 'X', 'o' and 'u' must be unsigned int. Roberto Ierusalimschy 1998-05-18 19:21:55 -03:00
  • 9890bedaab details (format for html) Roberto Ierusalimschy 1998-04-02 13:09:16 -03:00
  • 0a0c9593b8 many small corrections; strings with '\0' Roberto Ierusalimschy 1998-03-30 15:17:55 -03:00
  • d470792517 words are stored in hi-lo order (easier to print) Roberto Ierusalimschy 1998-03-30 10:57:23 -03:00
  • 439236773b changes by lhf Roberto Ierusalimschy 1998-03-26 11:50:19 -03:00
  • 2a2b64d6ac opcode "CLOSURE" gets the prototipe (instead of a previous pushconstant) Roberto Ierusalimschy 1998-03-25 15:52:29 -03:00
  • daa937c043 pattern-matching support for '\0'. Roberto Ierusalimschy 1998-03-24 17:14:25 -03:00
  • 21455162b5 details (and new escape sequences: \a, \b, ...) Roberto Ierusalimschy 1998-03-20 11:18:18 -03:00
  • 99cc4b20f2 details Roberto Ierusalimschy 1998-03-11 10:59:50 -03:00
  • 0969a971cd better use of "ASSERT". Roberto Ierusalimschy 1998-03-09 18:49:52 -03:00
  • be6d215f67 BUG: gsub('a', '(b?)%1*' ...) loops (because the capture is empty). Roberto Ierusalimschy 1998-03-09 15:28:08 -03:00
  • e74817f8aa correct way to handle string delimiters Roberto Ierusalimschy 1998-03-09 14:22:49 -03:00
  • 043c2ac258 new names for "lua_pushlstr" and "lua_getstrlen" Roberto Ierusalimschy 1998-03-06 15:47:42 -03:00
  • 88a2023c32 support for strings with '\0' Roberto Ierusalimschy 1998-03-06 13:54:42 -03:00
  • 5ef1989c4b "settag" returns its first argument. Roberto Ierusalimschy 1998-02-12 17:27:10 -02:00
  • f380d627f8 usefull macros also available as functions Roberto Ierusalimschy 1998-02-12 17:23:32 -02:00
  • aafa106d10 implementation of numerical escape sequences in strings ("\12"); better error messages for wrong tokens Roberto Ierusalimschy 1998-02-11 18:56:46 -02:00
  • 29b7b8e52c better error messages for wrong tokens Roberto Ierusalimschy 1998-02-11 18:56:46 -02:00
  • a9dd2c6717 interrupts lua loops with "^C" (via signals) Roberto Ierusalimschy 1998-02-11 18:56:05 -02:00
  • aee3f97acb put back quotes (") when string in dostring ends with a \n Roberto Ierusalimschy 1998-01-29 13:59:35 -02:00
  • 46968b8ffa "volatile is the only reliable way to ensure that a local variable retains the value it had at the time of the call to longjmp" Roberto Ierusalimschy 1998-01-28 15:47:05 -02:00
  • 6cdf0d8768 tables can become full of "emptys" slots, and keep growing without limits. Roberto Ierusalimschy 1998-01-28 14:50:33 -02:00
  • 07ff251a17 details in "dostring" identification Roberto Ierusalimschy 1998-01-27 19:21:27 -02:00
  • b3b7cf7335 BUG: "lua_getstring" may create a new string, so should check GC Roberto Ierusalimschy 1998-01-27 17:13:45 -02:00
  • 8622dc18bf bug: format size limits with little problems Roberto Ierusalimschy 1998-01-27 17:11:36 -02:00
  • d22e2644dd wrong line number (+1) in error report when file starts with "#..." Roberto Ierusalimschy 1998-01-19 18:18:02 -02:00
  • f529a22ca5 BUG: wrong line number (+1) in error report when file starts with "#..." Roberto Ierusalimschy 1998-01-19 18:18:02 -02:00
  • 783ba75129 needs "stdlib.h" (calls "exit") Roberto Ierusalimschy 1998-01-19 17:49:49 -02:00
  • d49e4dd752 MAX_WORD should not be bigger than MAX_INT Roberto Ierusalimschy 1998-01-19 17:49:22 -02:00
  • 981fddea02 module to load bytecodes from files. v3.1-alpha Roberto Ierusalimschy 1998-01-14 13:49:01 -02:00
  • 81b953f27e details Roberto Ierusalimschy 1998-01-14 11:49:44 -02:00
  • b9acf4b4af "strcoll" may not exist in ond ansi machines Roberto Ierusalimschy 1998-01-14 11:49:15 -02:00
  • 44ace0aefd we don't need a type "Word". Roberto Ierusalimschy 1998-01-14 11:48:28 -02:00
  • 5981161360 small optimizations (?) Roberto Ierusalimschy 1998-01-13 16:06:27 -02:00
  • 763c64be9b details Roberto Ierusalimschy 1998-01-13 13:42:43 -02:00
  • f0dffaa209 new way to hanlde arg information Roberto Ierusalimschy 1998-01-12 11:35:37 -02:00
  • 77a6836fef we don't need a type "Word". Roberto Ierusalimschy 1998-01-12 11:00:51 -02:00
  • 9f043e8017 luaL_arg_check now is inlined Roberto Ierusalimschy 1998-01-09 13:09:53 -02:00
  • 6ac047afc4 details Roberto Ierusalimschy 1998-01-09 12:57:43 -02:00
  • 0e1058cfdd small optimizations in switch order Roberto Ierusalimschy 1998-01-09 12:44:55 -02:00
  • 26679b1a48 back to upavalues as extra arguments for C closures; this way it's trivial to make currying. Roberto Ierusalimschy 1998-01-07 14:26:48 -02:00
  • e04c2b9aa8 details Roberto Ierusalimschy 1998-01-06 17:17:31 -02:00
  • 0c031dcc8b details Roberto Ierusalimschy 1998-01-05 15:12:54 -02:00
  • c332c4e927 reference manual of the Lua language Roberto Ierusalimschy 1998-01-02 16:34:00 -02:00
  • 964c503a63 LUA_COMPAT2.5 may use #ifdef instead of #if Roberto Ierusalimschy 1998-01-02 15:46:32 -02:00
  • 90d87e3a78 details Roberto Ierusalimschy 1997-12-30 17:15:52 -02:00