James Roseborough
c2c573744b
Refactor luaGetTable() to return a value.
2008-05-23 00:37:45 +00:00
James Roseborough
c20ea01bc9
if-then-else logic to jit compiler
2008-05-22 04:28:03 +00:00
James Roseborough
2128ef7272
Start to add branching
2008-05-21 05:19:43 +00:00
James Roseborough
0280d4eecf
additional jit implementations
2008-05-21 04:46:22 +00:00
James Roseborough
539b0ea57f
Allow jit to find upvalues.
2008-05-21 00:37:10 +00:00
James Roseborough
3582b97d8b
Add OP_CLOSURE to jit
2008-05-21 00:33:00 +00:00
James Roseborough
8d055862e0
Add version "Luaj ${version}" into _VERSION field at build time.
2008-05-19 17:18:10 +00:00
James Roseborough
d9c3f0ae15
Fix for loop (jit), make jist test use jit closures.
2008-05-18 19:24:09 +00:00
James Roseborough
039d79fe5f
Simplified, extended jit implementation
2008-05-18 15:12:03 +00:00
James Roseborough
c5c322fee1
Jut compile logic for for loop.
2008-05-17 23:28:15 +00:00
James Roseborough
ebdbe60849
Use JavaCompiler class to compile generated files.
2008-05-17 21:53:56 +00:00
James Roseborough
2f7f25e996
Set up basic jit compiling framework.
2008-05-17 17:14:52 +00:00
James Roseborough
68d08c6cbd
Add j2me components to j2se, script jars.
2008-05-14 00:19:56 +00:00
James Roseborough
f84e4aeaa1
Fix bootclasspath
2008-05-07 20:31:53 +00:00
James Roseborough
c01fc7aed9
Allow debug class setting from system properties.
2008-05-06 23:21:33 +00:00
James Roseborough
c759188034
Simplify build file, rationalize directories, rename build jars.
2008-05-06 14:12:46 +00:00
James Roseborough
8c451be87f
Set function name to name of file when loaded from compiled code.
2008-04-30 00:11:46 +00:00
James Roseborough
b79f8ba714
Initial pass at JSR 223 pluggable scripting engne.
2008-04-24 08:22:34 +00:00
James Roseborough
2e17f19628
Up initial buffer size to 512
2008-04-24 00:52:38 +00:00
James Roseborough
2454606c41
Denormalize opcode fetching for performance.
2008-04-23 23:55:05 +00:00
James Roseborough
b6cc568c6c
Refactor LoadState to improve loading speed.
2008-04-23 20:05:12 +00:00
James Roseborough
d2fe6ccc52
Let suspend argument accept True as true
2008-04-23 18:31:25 +00:00
James Roseborough
53fa0d1ca0
Remove name passing into UpVal instances.
2008-04-23 17:34:04 +00:00
James Roseborough
06e4efd93c
Make code friendlier to jdk 1.4 compiler.
2008-04-22 17:34:54 +00:00
James Roseborough
7ecd04a652
Improve Java table length computation relative to C version
2008-04-22 05:30:00 +00:00
James Roseborough
497f3d8100
add tests for length
2008-04-22 05:22:34 +00:00
James Roseborough
bba4cf9a99
Reconcile C & Java typechecking on table.concat() and string .. concat operator
2008-04-22 04:52:24 +00:00
James Roseborough
3c3b43bcfd
Bump version number.
2008-04-21 16:43:31 +00:00
James Roseborough
ecf56c157c
extend vm test
2008-04-18 18:26:25 +00:00
James Roseborough
882daa5d53
improve portability of test
2008-04-18 14:46:09 +00:00
James Roseborough
99720c9d2a
Remove race condition from weak table test
2008-04-18 14:45:49 +00:00
James Roseborough
3ccfa61076
Add test for replace bug
2008-04-18 14:45:32 +00:00
James Roseborough
79734ab679
Fix weak tables, improve unit test
2008-04-11 13:44:39 +00:00
James Roseborough
89dd1594b4
Improved weak table implementation
2008-04-11 01:00:18 +00:00
James Roseborough
ddf9acc506
improve table tests.
2008-04-11 00:08:19 +00:00
James Roseborough
09771147cf
Improve unit test for "next()" function
2008-04-09 12:46:05 +00:00
James Roseborough
09aa37a837
Weak table implementation.
2008-04-08 21:55:16 +00:00
James Roseborough
720c6027d6
Add unit test for weak tables.
2008-04-08 15:49:40 +00:00
James Roseborough
6e333f9567
Add constructor with metatable.
2008-04-07 16:27:20 +00:00
James Roseborough
e13eb1a2ee
Bump version post-public release.
2008-04-04 04:42:48 +00:00
James Roseborough
73324845bf
Up to version 0.24, add "dist" ant target to create a distribution.
2008-04-04 04:06:12 +00:00
James Roseborough
727f8725d2
Add LTable.put(String,int) utility function
2008-04-03 15:33:51 +00:00
James Roseborough
35ed9dca3c
Fix sorting with custom comparator, and add unit tests to regress
2008-04-03 03:58:15 +00:00
James Roseborough
faaee456ad
Bump version to 22
2008-02-21 23:38:45 +00:00
James Roseborough
c0b26d89c3
Revert to 1.4 style usage
2008-02-21 23:38:34 +00:00
James Roseborough
68eb650ab9
Let Platform.DEBUG_CLASS_NAME be public and mutable.
2008-02-21 23:38:23 +00:00
Shu Lei
c170cd3fa0
performance improvement:
...
public void func() {
synchronized(this) {
...
}
}
is less efficient than
public synchronized void func() {
...
}
2008-02-21 01:00:43 +00:00
Ian Farmer
1672e73c40
Change LuaC to read bytes instead of chars.
...
This fixes some of the test cases by avoiding a lossy round-trip conversion
from bytes presumed to be, but might not be, UTF-8 encoded characters, and
then back to bytes. All of the compiler test cases now pass.
2008-02-13 08:02:17 +00:00
James Roseborough
9c4bbf670f
Fix for case when more than 127 local variables are declared in one function
2008-02-08 21:54:53 +00:00
Ian Farmer
cd760d6ec8
Fix the bug in the CLOSE instruction that was causing upvalues3.lua to fail.
2008-02-07 23:13:48 +00:00