pull/81/head
Dibyendu Majumdar 9 years ago
parent 95ff076c2a
commit 5d67a7196d

@ -94,6 +94,8 @@ struct GCObject {
typedef union Value Value;
/*
** Tagged Values. This is the basic representation of values in Lua,
** an actual value plus a tag with its type.

@ -125,6 +125,7 @@ enum OpMode {iABC, iABx, iAsBx, iAx}; /* basic instruction format */
#define CREATE_Ax(o,a) ((cast(Instruction, o)<<POS_OP) \
| (cast(Instruction, a)<<POS_Ax))
/*
** Macros to operate RK indices
*/

@ -192,6 +192,19 @@ Ravi should be able to run all Lua 5.3 programs in interpreted mode. When JIT co
* ``pairs()`` and ``ipairs()`` work on Ravi arrays since release 0.4 but more testing needed (issues 24 and 25)
* Upvalues cannot subvert the static typing of local variables since release 0.4 but more testing is needed (issue 26)
* Lua C API may not work correctly for Ravi arrays, although some initial work has been done in this area (issue 9)
* Certain Lua limits are reduced due to changed byte code structure. These are described below.
+-----------------+-------------+-------------+
| Limit name | Lua value | Ravi value |
+=================+=============+=============+
| MAXUPVAL | 255 | 125 |
+-----------------+-------------+-------------+
| LUAI_MAXCCALLS | 125 | 200 |
+-----------------+-------------+-------------+
| MAXREGS | 127 | 255 |
+-----------------+-------------+-------------+
| MAXVARS | 125 | 200 |
+-----------------+-------------+-------------+
Build Dependencies - LLVM version
---------------------------------

Loading…
Cancel
Save