Roberto Ierusalimschy
|
031978798c
|
more optimizations
|
2000-04-07 10:13:11 -03:00 |
|
Roberto Ierusalimschy
|
14251c5a56
|
name changes + new operation - old operation
|
2000-04-07 10:12:50 -03:00 |
|
Roberto Ierusalimschy
|
42130ed712
|
name changes
|
2000-04-07 10:11:49 -03:00 |
|
Roberto Ierusalimschy
|
d615e78e08
|
new optimization: jumps to jumps
|
2000-04-06 14:36:52 -03:00 |
|
Roberto Ierusalimschy
|
c6965ce551
|
new functions: disassembler and get limit.
|
2000-04-06 14:35:23 -03:00 |
|
Roberto Ierusalimschy
|
22329e4cdf
|
implementation of BREAK
|
2000-04-05 14:51:58 -03:00 |
|
Roberto Ierusalimschy
|
9f734094f9
|
`nil' is optional for next and nextvar (and is not for tonumber & tag).
|
2000-04-04 17:49:32 -03:00 |
|
Roberto Ierusalimschy
|
4e7e9e8de5
|
new opcode INCLOCAL.
|
2000-04-04 17:48:44 -03:00 |
|
Roberto Ierusalimschy
|
3e45496295
|
syntactical details
|
2000-04-03 10:44:55 -03:00 |
|
Roberto Ierusalimschy
|
e30327728c
|
BUG: tostring() without arguments gives seg. fault.
|
2000-04-03 10:20:33 -03:00 |
|
Roberto Ierusalimschy
|
36e1390631
|
details.
|
2000-03-31 13:28:45 -03:00 |
|
Roberto Ierusalimschy
|
8f0f54ec38
|
name change
|
2000-03-30 17:55:50 -03:00 |
|
Roberto Ierusalimschy
|
556a89e537
|
new names for debug types
|
2000-03-30 14:19:48 -03:00 |
|
Roberto Ierusalimschy
|
e2c60eda16
|
`luaT_validevent' is exported, because compatibility module for fallbacks
uses it.
|
2000-03-30 13:41:51 -03:00 |
|
Roberto Ierusalimschy
|
a69356e9e0
|
no more special cases for closures with 0 upvalues (performance is the same,
memory use a little higher, code much simpler).
|
2000-03-29 17:19:20 -03:00 |
|
Roberto Ierusalimschy
|
b53dc0c485
|
TAG_ARRAY -> TAG_TABLE
|
2000-03-27 17:10:21 -03:00 |
|
Roberto Ierusalimschy
|
63e230a16b
|
comments
|
2000-03-27 17:08:33 -03:00 |
|
Roberto Ierusalimschy
|
102a1be615
|
no more support for gc TM for tables
|
2000-03-27 17:08:02 -03:00 |
|
Roberto Ierusalimschy
|
4c03196697
|
lua_setstate makes no sense with explicit multiple states
|
2000-03-27 11:00:35 -03:00 |
|
Roberto Ierusalimschy
|
54633d7c7d
|
new name for llimits.h
|
2000-03-24 16:49:23 -03:00 |
|
Roberto Ierusalimschy
|
13578517c7
|
new file to keep all limits and instalation-dependent definitions
|
2000-03-24 14:26:08 -03:00 |
|
Roberto Ierusalimschy
|
213e9febc8
|
limits now are in `llims.n'
|
2000-03-24 14:26:08 -03:00 |
|
Roberto Ierusalimschy
|
47b4bf5964
|
small refactoring.
|
2000-03-24 09:18:30 -03:00 |
|
Roberto Ierusalimschy
|
415ee1a24f
|
SETLINEs for reserved words, too.
|
2000-03-24 09:17:53 -03:00 |
|
Roberto Ierusalimschy
|
5f3c5ace95
|
message detail
|
2000-03-22 13:24:13 -03:00 |
|
Roberto Ierusalimschy
|
441469f803
|
new option `-s' + argv ends with NULL (so we don't need argc).
|
2000-03-20 17:27:32 -03:00 |
|
Roberto Ierusalimschy
|
1157c2a7e4
|
better(?) treatment for SETLINE + while optimization is too complex for
only 3% of maximum improvement.
|
2000-03-20 16:15:37 -03:00 |
|
Roberto Ierusalimschy
|
374cc888f4
|
better(?) treatment for SETLINE
|
2000-03-20 16:15:37 -03:00 |
|
Roberto Ierusalimschy
|
bb9605bbc9
|
tags can be positive values
|
2000-03-20 16:14:54 -03:00 |
|
Roberto Ierusalimschy
|
6759299880
|
new implementation for handling I/O tags + setglobal TM for tracing
changes in _INPUT/_OUTPUT
|
2000-03-20 16:13:45 -03:00 |
|
Roberto Ierusalimschy
|
da7eb34cd6
|
optimization for "while 1" and "repeat until nil"
|
2000-03-17 11:46:04 -03:00 |
|
Roberto Ierusalimschy
|
2c8e28d75a
|
small changes
|
2000-03-17 10:09:46 -03:00 |
|
Roberto Ierusalimschy
|
4fb8e93c36
|
small optimization for i..''
|
2000-03-17 10:09:12 -03:00 |
|
Roberto Ierusalimschy
|
7f77431950
|
detail
|
2000-03-16 18:06:16 -03:00 |
|
Roberto Ierusalimschy
|
87367e97f3
|
more information about memory use
|
2000-03-16 17:35:07 -03:00 |
|
Roberto Ierusalimschy
|
06f08f5634
|
small problems with limits and jumps
|
2000-03-16 15:03:09 -03:00 |
|
Roberto Ierusalimschy
|
3860c5934e
|
details.
|
2000-03-15 17:50:33 -03:00 |
|
Roberto Ierusalimschy
|
f0b697e01c
|
details
|
2000-03-13 17:37:16 -03:00 |
|
Roberto Ierusalimschy
|
73aa465a8e
|
some name changes
|
2000-03-10 15:37:44 -03:00 |
|
Roberto Ierusalimschy
|
3d0577f4b9
|
small optimizations.
|
2000-03-10 11:38:10 -03:00 |
|
Roberto Ierusalimschy
|
977b8f65f0
|
comment detail.
|
2000-03-10 11:01:05 -03:00 |
|
Roberto Ierusalimschy
|
e3cf93ddb6
|
first implementation of "threaded code" for boolean operations
|
2000-03-09 10:57:37 -03:00 |
|
Roberto Ierusalimschy
|
88b306f495
|
some optimizations
|
2000-03-08 21:19:22 -03:00 |
|
Roberto Ierusalimschy
|
563de491be
|
a better way to control optimizations.
|
2000-03-04 17:18:15 -03:00 |
|
Roberto Ierusalimschy
|
29e0193425
|
details
|
2000-03-03 17:30:47 -03:00 |
|
Roberto Ierusalimschy
|
61f97a8ace
|
maybe a concat right associative allows some optimizations...
|
2000-03-03 17:29:25 -03:00 |
|
Roberto Ierusalimschy
|
d1ea38580a
|
change of code generation design (independent functions for each opcode)
|
2000-03-03 15:53:17 -03:00 |
|
Roberto Ierusalimschy
|
3c9d999424
|
many details (most by lhf).
|
2000-03-03 11:58:26 -03:00 |
|
Roberto Ierusalimschy
|
f7840a3e0b
|
new algorithm to parse expressions + distribution of code between lparser
and lcode.
|
2000-03-03 09:33:59 -03:00 |
|
Roberto Ierusalimschy
|
1780e2c977
|
lua_settable should check stack space (it could call a T.M.)
|
2000-03-02 09:44:29 -03:00 |
|
Roberto Ierusalimschy
|
fa14cbf8e8
|
comments
|
2000-03-02 09:32:53 -03:00 |
|
Roberto Ierusalimschy
|
4d4e6f07c0
|
all order operators use a single tag method (<)
|
2000-02-22 16:12:46 -02:00 |
|
Roberto Ierusalimschy
|
5cecf0ea9f
|
it is better to control stack space where it is needed.
|
2000-02-22 15:54:16 -02:00 |
|
Roberto Ierusalimschy
|
3bc925138e
|
first version of code optimizer
|
2000-02-22 11:31:43 -02:00 |
|
Roberto Ierusalimschy
|
39e1f079bd
|
code generator (and optimizer) for Lua
|
2000-02-22 11:31:19 -02:00 |
|
Roberto Ierusalimschy
|
075da266e5
|
there is no need to use shorts...
|
2000-02-21 16:33:26 -02:00 |
|
Roberto Ierusalimschy
|
228a62f799
|
details
|
2000-02-21 16:30:42 -02:00 |
|
Roberto Ierusalimschy
|
7c2fb15bec
|
need "string.h" to use "strchr".
|
2000-02-21 16:30:06 -02:00 |
|
Roberto Ierusalimschy
|
1f01998516
|
nobody uses memmove any more.
|
2000-02-17 16:30:36 -02:00 |
|
Roberto Ierusalimschy
|
c929376d59
|
must include a definition for NULL
|
2000-02-17 16:30:36 -02:00 |
|
Roberto Ierusalimschy
|
3afe85b2ce
|
new version for INSTRUCTION formats
|
2000-02-14 14:51:08 -02:00 |
|
Roberto Ierusalimschy
|
52aad0ab59
|
removing implementation for better error messages (must rethink it...)
|
2000-02-11 14:52:54 -02:00 |
|
Roberto Ierusalimschy
|
74f1c3d025
|
small changes for "clean C"
|
2000-02-08 14:39:42 -02:00 |
|
Roberto Ierusalimschy
|
1f691a4fcd
|
renaming of some opcodes and fields
|
2000-01-28 14:53:00 -02:00 |
|
Roberto Ierusalimschy
|
d6b9f49aaf
|
only need to reset buffer for strings, numbers, and names.
|
2000-01-26 16:51:49 -02:00 |
|
Roberto Ierusalimschy
|
d83c2a8455
|
performance details.
|
2000-01-25 16:44:21 -02:00 |
|
Roberto Ierusalimschy
|
d11e5adf55
|
`const' array in protos breaked in 3 arrays (for strings, numbers, and
prototypes).
|
2000-01-25 11:57:18 -02:00 |
|
Roberto Ierusalimschy
|
99e340b2ba
|
keep `top' in registers when running basic tasks (settable, getglobal, ...)
|
2000-01-24 18:14:07 -02:00 |
|
Roberto Ierusalimschy
|
9744255ae9
|
error in call must be propagated
|
2000-01-24 18:11:26 -02:00 |
|
Roberto Ierusalimschy
|
512b15b601
|
small optimizations (relational operators)
|
2000-01-19 14:50:30 -02:00 |
|
Roberto Ierusalimschy
|
33d3504889
|
new debug API
|
2000-01-19 14:50:14 -02:00 |
|
Roberto Ierusalimschy
|
2877bad4c2
|
new debug API (first version)
|
2000-01-19 10:00:45 -02:00 |
|
Roberto Ierusalimschy
|
27163f032e
|
Auxiliary functions from Debug Interface module
|
2000-01-14 15:15:44 -02:00 |
|
Roberto Ierusalimschy
|
eab57ed6fd
|
details
|
2000-01-13 14:30:47 -02:00 |
|
Roberto Ierusalimschy
|
ea45f3eb28
|
better separation between debug code and regular code
|
2000-01-13 14:30:47 -02:00 |
|
Roberto Ierusalimschy
|
46ec57cbc6
|
little change when calling tag methods
|
2000-01-13 13:56:03 -02:00 |
|
Roberto Ierusalimschy
|
62787f1b1f
|
`exp' is "reserved word" in Visual-C++ ;-)
|
2000-01-12 14:24:39 -02:00 |
|
Roberto Ierusalimschy
|
dcb7bb514e
|
details (error messages)
|
2000-01-10 15:34:38 -02:00 |
|
Roberto Ierusalimschy
|
b3aaa048b0
|
bug: cannot reopen stdin (for binary mode)
|
1999-12-30 16:40:57 -02:00 |
|
Roberto Ierusalimschy
|
aee07c6599
|
details
|
1999-12-30 16:29:46 -02:00 |
|
Roberto Ierusalimschy
|
bcdbdaccc3
|
more debug information (still with bug for tag methods...)
|
1999-12-30 16:28:40 -02:00 |
|
Roberto Ierusalimschy
|
5cafe5af02
|
tag method must be a function
|
1999-12-30 16:27:03 -02:00 |
|
Roberto Ierusalimschy
|
607012ece1
|
tag method must be a function
+ error message must be a string
|
1999-12-30 16:27:03 -02:00 |
|
Roberto Ierusalimschy
|
0652906e7a
|
details.
|
1999-12-30 10:40:29 -02:00 |
|
Roberto Ierusalimschy
|
4d1b815b60
|
return gives wrong line in debug information.
|
1999-12-29 16:07:10 -02:00 |
|
Roberto Ierusalimschy
|
4ebc183e56
|
bug: return gives wrong line in debug information.
|
1999-12-29 16:07:10 -02:00 |
|
Roberto Ierusalimschy
|
298d0abff7
|
first version of extra debug information (NAME)
|
1999-12-29 14:31:15 -02:00 |
|
Roberto Ierusalimschy
|
4fbe775154
|
details
|
1999-12-29 14:24:03 -02:00 |
|
Roberto Ierusalimschy
|
aabefe9d68
|
details.
|
1999-12-28 17:23:41 -02:00 |
|
Roberto Ierusalimschy
|
fb60283974
|
better error messages
|
1999-12-28 09:52:49 -02:00 |
|
Roberto Ierusalimschy
|
acdb0b741e
|
comments.
|
1999-12-27 15:33:22 -02:00 |
|
Roberto Ierusalimschy
|
5b08fcd5a1
|
no more "lua" in error messages
|
1999-12-27 11:04:53 -02:00 |
|
Roberto Ierusalimschy
|
b1b0c219f5
|
new ttypes to distinguish between C closures and Lua closures.
|
1999-12-23 16:19:57 -02:00 |
|
Roberto Ierusalimschy
|
be3212de78
|
details
|
1999-12-22 14:58:36 -02:00 |
|
Roberto Ierusalimschy
|
2eaf9a00ae
|
little bug: `1ea' got a wrong token at the error message
|
1999-12-22 14:58:36 -02:00 |
|
Roberto Ierusalimschy
|
6c79a0a80d
|
new way to control hooks inside hooks (now the control is done inside Lua)
|
1999-12-21 16:04:41 -02:00 |
|
Roberto Ierusalimschy
|
3daeabb606
|
new way to pass arguments: with option `-f'
|
1999-12-21 15:34:23 -02:00 |
|
Roberto Ierusalimschy
|
cfdebfbc53
|
debug information for parameters use line 0 for them (as they are
always visible).
|
1999-12-21 15:31:28 -02:00 |
|
Roberto Ierusalimschy
|
d61d5bef9d
|
details
|
1999-12-20 11:10:38 -02:00 |
|
Roberto Ierusalimschy
|
4450efc97e
|
new chunkid for C functions (`luaL_chunkid')
|
1999-12-20 11:09:45 -02:00 |
|