Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/FiguraMC/luaj


https://github.com/FiguraMC/luaj

Add guard to prevent null values from being put on stack

7cd3195bcd0e924d53adb564dbb49d1dc81371ea authored about 17 years ago by James Roseborough <[email protected]>
Make printCode public, remove unused code from Lua.java

fbeded03880b11c1d1905b151a6cbdf053e0f7aa authored about 17 years ago by James Roseborough <[email protected]>
optimization for tables that include sequential integral indices starting with 0.

commented out: a more sophisticated (but space-consuming) optimization
that accounts for arbitra...

b9fdb731fe52b16e066dcf85dcc4af371d957e3b authored about 17 years ago by Christopher Colby <[email protected]>
Rework the main API"s that implement the calling convention. Provide utility methods to get arguments that were supplied, and provide return values. Add a VM interface to clarify the relationship between the VM, things that call the VM, and things that are called by the VM. Make the code more closely aligned with the C++ version.

8bf4c82a12f154a729cde4d93c43b1385fa43c26 authored about 17 years ago by James Roseborough <[email protected]>
Move LUA_MULTRET def to Lua.java

56f33b373d8133e443f6847bbeb3293475f24f6e authored about 17 years ago by James Roseborough <[email protected]>
Add implicit LString to number coercions.

ee5007e7184a15d2a5810b58d87ce9262c9c09ad authored about 17 years ago by Ian Farmer <[email protected]>
New LuaCompat add-on provides some standard lua functions that allow the

test cases to make more progress: assert, collectgarbage, loadfile,
tonumber, rawget, and setfenv...

daf71ee67252db9641830241d6b41a4e595a21d4 authored about 17 years ago by Ian Farmer <[email protected]>
New autoload and math test cases. Currently autoload does not work because

the GETGLOBAL instruction does not handle the case where a metatable method
is invoked.

e1d6ddf99c022d92714930c7074101ca7a22e6d6 authored about 17 years ago by Ian Farmer <[email protected]>
Fix the NOT instruction. Includes test case.

b4ac032fd71343398671160613b372853b027a11 authored about 17 years ago by Ian Farmer <[email protected]>
Change the pom.xml and remove some use of Java 1.5 features to reduce the

number of errors produced by "mvn package".

c0f054549b9e04206da4787b5b96e0f5766eafbf authored over 17 years ago by Ian Farmer <[email protected]>
Add last Lua type: userdata. Changed LInstance to inherit from LUserData,

and changed instanceof/casts to LInstance to use LUserData instead. This
should enable various ad...

2a64db32b5c9264dc7bb5632f7e0890f0b8f8ab9 authored over 17 years ago by Ian Farmer <[email protected]>
Adding test suite with tests from the set of standard Lua test cases. These

test cases were downloaded from:
http://www.inf.puc-rio.br/~roberto/lua/lua5.1-tests.tar.gz

8c3fe262f9d096686f9795982586b90718a1b50b authored over 17 years ago by Ian Farmer <[email protected]>
Add new built-in function type() that returns the name of the type of

the given value as a string. Includes test case.

635f127cd052d0d9032c241c37d3ee8156743247 authored over 17 years ago by Ian Farmer <[email protected]>
Fix a bug in how comparison instructions are handled: the 'a' intruction field

was ignored. Includes new test case.

c65dec54fbb52738df0742bfd6195fc3be374f40 authored over 17 years ago by Ian Farmer <[email protected]>
Fine-tune protection to enable compiler porting.

ba3da1ca2c04e56f3345ff6526b8994df7031894 authored over 17 years ago by James Roseborough <[email protected]>
Fix a bug in how OP_SETLIST is handled. Includes new test case.

2a28925f746e89113b4032e57d74989edf5083e7 authored over 17 years ago by Ian Farmer <[email protected]>
Add a new test case for upvalues, and enhance upvalue handling so that

they pass.

f7d6a49acb5b5de221a21e48fb2d88a3ed9f0b75 authored over 17 years ago by Ian Farmer <[email protected]>
Add simple test for correct upvalue handling.

45964d7e2224a48dd3223019f1307052e7bdb668 authored over 17 years ago by Ian Farmer <[email protected]>
While loading chunks, check if double values can be represented as integers,

and load them as LIntegers instead of LDoubles if so. Also change test2 so that
it does not fail ...

62022d588108c11fa57e23ba03536c2a5eae06c8 authored over 17 years ago by Ian Farmer <[email protected]>
Added a JUnit test case. Unfortunately, it will almost certainly not work on

Windows in its present form, and only one of the test cases passes.
In addition two changes to pr...

241edfbf378b35c3d09d239aa768c62989c1b460 authored over 17 years ago by Ian Farmer <[email protected]>
Add maven's "target" directory to .cvsignore file.

ba26aed248e14311930178fcc9127a01a52342b2 authored over 17 years ago by Ian Farmer <[email protected]>
Fix two bugs in LuaJava compatibility addon:

(1) LDouble to Double/double coercions were missing
(2) LuaJava.LMethod.luaStackCall adjusted the...

d987d8909283a544c6b86c8b51d185d58b428181 authored over 17 years ago by Ian Farmer <[email protected]>
Add .cvsignore listing "bin" directory, which is Eclipse's build outputs

directory.

a3ffb9a20758985adb2bb0d338f39cf14df465b3 authored over 17 years ago by Ian Farmer <[email protected]>
Fix Eclipse project settings: Java 1.5 features are used, so the java

language version must be set to 5.

bb8844f6b8d8cb4644c812c40578deaa01f1f3f7 authored over 17 years ago by Ian Farmer <[email protected]>
Allow null values in arguments to pushCall, expose the underlying storage in LTable to simplify add-ons until the lTable is finished.

7aab64e6d3b054a3d15e5ae4ad6fa57ca34c515e authored over 17 years ago by James Roseborough <[email protected]>
Fix pointer to next available stack slot

2fe87230d8d25b88495512d2e7a9f92592e3531c authored over 17 years ago by James Roseborough <[email protected]>
Refactor call stack and its use throughout. CallFrame now does all bytecode processing, and the callframe is reinitialized anytime something might have changed, like a function call.

c8e1934916b852b900a2a3263d29096bdbc4597c authored over 17 years ago by James Roseborough <[email protected]>
Type coercion for luajava package, make luajava an "addon"

93fc4699a94e2d643c34ee300e8844221cb304fa authored over 17 years ago by James Roseborough <[email protected]>
Initial draft of luajava package support.

1d7793f8e6537e301bd8945041e7cf46d598662e authored over 17 years ago by James Roseborough <[email protected]>
Fix basic class processing via metatables. Make print output more closely match that produces by C interpreter

99077764acae39ac3196919fa7a119bccc07daed authored over 17 years ago by James Roseborough <[email protected]>
Implement most of metatables

54927db2fc91b639605d1bc3330747b00f41ea34 authored over 17 years ago by James Roseborough <[email protected]>
Partial implementation of metatables.

5d3c86e55291f88284d806bf1cbcf218e01794c9 authored over 17 years ago by James Roseborough <[email protected]>
Improve table processing when table lookup fails.

7449605d5637a83442ba0b22d134586906540110 authored over 17 years ago by James Roseborough <[email protected]>
Fix for loop that uses iterator

a9c72414d1df8fcec9e93ba028271484c7b13885 authored over 17 years ago by James Roseborough <[email protected]>
fix builtins to keep them from obliterating stack values.

4fb619fe872f78d5c1b0343b538f61432173e865 authored over 17 years ago by James Roseborough <[email protected]>
Improve call stack handling to prepare for propert tail call handling.

be205817315dbb8cc49f0101cf7f52266ddb21d3 authored over 17 years ago by James Roseborough <[email protected]>
Enhance binary compare operators, especially equals, to more closely match what standard lua does.

19bd995ba6464e6bb3def4c89f1370651161ff0a authored over 17 years ago by James Roseborough <[email protected]>
Fix upvalues that allow closures to work properly.

14108aee878dc16e30ebdd3a1f4716f1e1f64ccc authored over 17 years ago by James Roseborough <[email protected]>
Vix VARARGS passing by adjusting stack on varargs call to bury varargs + length of varargs under base of stack

4b7bbc1d8efcc5a44c8afc0024f36340a6ce003c authored over 17 years ago by James Roseborough <[email protected]>
Improve vararg handling logic.

b6f123d5e594abe00ea7cc2a95ea463542c7495b authored over 17 years ago by James Roseborough <[email protected]>
Fix calling convention by managing top of stack and adjusting on way in and out of function calls.

da6f63bb3d0bb15a667878e268f9fdcb69891be0 authored over 17 years ago by James Roseborough <[email protected]>
Improve calling convention handling when the number of arguments doesn't match the expected number, and the number of return values doesn't match those needed.

05cfdaa33b7bc7e7a0c27816f1e808d68dd33947 authored over 17 years ago by James Roseborough <[email protected]>
Support for iterator-style for loops, and "pairs" builting function

de763e0a1efbb5257165e8ce4825ab8690779d5c authored over 17 years ago by James Roseborough <[email protected]>
Add binary compares, some unary ops, fix binary arithmetic, add plain for loop.

e1e6625aa171b48b5f09bc5332c7a6e59f457805 authored over 17 years ago by James Roseborough <[email protected]>
Initial draft of interpreter. Lua compiled "chunks" can be unmarshalled. Approximately half of bytecodes implemented in some form or another.

70dfc20f5795ce804034b3a5bf9ce276f8c07b14 authored over 17 years ago by James Roseborough <[email protected]>