Commit Graph

18 Commits

Author SHA1 Message Date
James Roseborough
93fc4699a9 Type coercion for luajava package, make luajava an "addon" 2007-06-24 15:04:19 +00:00
James Roseborough
1d7793f8e6 Initial draft of luajava package support. 2007-06-19 05:17:07 +00:00
James Roseborough
99077764ac Fix basic class processing via metatables. Make print output more closely match that produces by C interpreter 2007-06-19 04:25:34 +00:00
James Roseborough
54927db2fc Implement most of metatables 2007-06-17 02:58:40 +00:00
James Roseborough
5d3c86e552 Partial implementation of metatables. 2007-06-16 15:31:27 +00:00
James Roseborough
7449605d56 Improve table processing when table lookup fails. 2007-06-16 04:42:20 +00:00
James Roseborough
a9c72414d1 Fix for loop that uses iterator 2007-06-16 02:47:47 +00:00
James Roseborough
4fb619fe87 fix builtins to keep them from obliterating stack values. 2007-06-15 15:20:21 +00:00
James Roseborough
be20581731 Improve call stack handling to prepare for propert tail call handling. 2007-06-15 06:41:40 +00:00
James Roseborough
19bd995ba6 Enhance binary compare operators, especially equals, to more closely match what standard lua does. 2007-06-14 04:58:09 +00:00
James Roseborough
14108aee87 Fix upvalues that allow closures to work properly. 2007-06-14 04:09:57 +00:00
James Roseborough
4b7bbc1d8e Vix VARARGS passing by adjusting stack on varargs call to bury varargs + length of varargs under base of stack 2007-06-12 14:30:49 +00:00
James Roseborough
b6f123d5e5 Improve vararg handling logic. 2007-06-12 06:22:55 +00:00
James Roseborough
da6f63bb3d Fix calling convention by managing top of stack and adjusting on way in and out of function calls. 2007-06-11 05:51:19 +00:00
James Roseborough
05cfdaa33b 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. 2007-06-11 04:30:03 +00:00
James Roseborough
de763e0a1e Support for iterator-style for loops, and "pairs" builting function 2007-06-10 22:53:09 +00:00
James Roseborough
e1e6625aa1 Add binary compares, some unary ops, fix binary arithmetic, add plain for loop. 2007-06-10 19:49:47 +00:00
James Roseborough
70dfc20f57 Initial draft of interpreter. Lua compiled "chunks" can be unmarshalled. Approximately half of bytecodes implemented in some form or another. 2007-06-08 05:11:37 +00:00