You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
.. | ||
Makefile | 3 years ago | |
README.rst | 3 years ago | |
bit.c | 6 years ago | |
lapi.c | 3 years ago | |
lapi.h | 3 years ago | |
lauxlib.c | 3 years ago | |
lbaselib.c | 3 years ago | |
lbitlib.c | 5 years ago | |
lcode.c | 3 years ago | |
lcode.h | 3 years ago | |
lcorolib.c | 3 years ago | |
lctype.c | 5 years ago | |
lctype.h | 3 years ago | |
ldblib.c | 3 years ago | |
ldebug.c | 3 years ago | |
ldebug.h | 3 years ago | |
ldo.c | 3 years ago | |
ldo.h | 3 years ago | |
ldump.c | 3 years ago | |
lfunc.c | 3 years ago | |
lfunc.h | 3 years ago | |
lgc.c | 3 years ago | |
lgc.h | 3 years ago | |
linit.c | 3 years ago | |
liolib.c | 5 years ago | |
llex.c | 3 years ago | |
llex.h | 3 years ago | |
llimits.h | 3 years ago | |
lmathlib.c | 4 years ago | |
lmem.c | 5 years ago | |
lmem.h | 3 years ago | |
loadlib.c | 3 years ago | |
lobject.c | 3 years ago | |
lobject.h | 3 years ago | |
lopcodes.c | 3 years ago | |
lopcodes.h | 3 years ago | |
loslib.c | 5 years ago | |
lparser.c | 3 years ago | |
lparser.h | 3 years ago | |
lprefix.h | 3 years ago | |
lstate.c | 3 years ago | |
lstate.h | 3 years ago | |
lstring.c | 5 years ago | |
lstring.h | 3 years ago | |
lstrlib.c | 3 years ago | |
ltable.c | 3 years ago | |
ltable.h | 3 years ago | |
ltablib.c | 5 years ago | |
ltests.c | 3 years ago | |
ltm.c | 3 years ago | |
ltm.h | 3 years ago | |
lua.c | 3 years ago | |
luac.c | 5 years ago | |
lundump.c | 3 years ago | |
lundump.h | 3 years ago | |
lutf8lib.c | 3 years ago | |
lvm.c | 3 years ago | |
lvm.h | 3 years ago | |
lzio.c | 5 years ago | |
lzio.h | 3 years ago | |
ravi_alloc.c | 6 years ago | |
ravi_alloc.h | 3 years ago | |
ravi_arch.h | 3 years ago | |
ravi_complib.c | 3 years ago | |
ravi_def.h | 3 years ago | |
ravi_jit.c | 3 years ago | |
ravi_jit.h | 3 years ago | |
ravi_jitshared.c | 3 years ago | |
ravi_jitshared.h | 3 years ago | |
ravi_membuf.c | 3 years ago | |
ravi_membuf.h | 3 years ago | |
ravi_mirjit.c | 3 years ago | |
ravi_mirjit.h | 3 years ago | |
ravi_nojit.c | 3 years ago | |
ravi_profile.c | 3 years ago | |
ravi_profile.h | 3 years ago |
README.rst
This folder has all the Lua and Ravi source files.
The Lua sources begin with the letter ``l``.
The following Lua sources have been enhanced for Ravi.
* lvm.c - this has the Ravi bytecode implementations
* lopcodes.c - definitions of Ravi opcodes
* ldo.c - changes to enable calling JITed function
* lparser.c - parser changes for optional typing
* lcode.c - code generator changes for optional typing
* lfunc.c - changes to support JIT compilation
* linit.c - the Ravi api functions get loaded here
* ltable.c - enhancements for Ravi array types
* lapi.c - enhancements for Ravi array types
Ravi uses Doug Lea's malloc implementation. The implementation is in:
* ravi_alloc.c - Doug Lea's malloc implementation, adapted for Ravi.
## JIT Implementations
* ravi_jit.c - Ravi JIT API definition
Some backends use C as the intermediate language. The common C code generator is in:
* ravi_jitshared.c - this is the C code generator for a given Ravi / Lua function
The MIR JIT implementation is in:
* ravi_mirjit.c - defines the driver functions. The MIR backend has its own C preprocessor, parser and code generator.