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.
ravi/src
Pavel R. 7adbc171f6
changed types to strict (nil disallowed) in lcode.c
3 years ago
..
Makefile issue #204 Code reorg 3 years ago
README.rst issue #203 Doc update 3 years ago
bit.c issue #133 add LuaJIT's bit library so that we can support dynasm 7 years ago
lapi.c Merge branch 'new_type_info' into type-maps 3 years ago
lapi.h issue #204 Code reorg 3 years ago
lauxlib.c issue #157 cleanup 4 years ago
lbaselib.c issue #196 backport generational GC from Lua 5.4 4 years ago
lbitlib.c issue #156 6 years ago
lcode.c changed types to strict (nil disallowed) in lcode.c 3 years ago
lcode.h issue #204 Code reorg 3 years ago
lcorolib.c Removed RAVI_DEFER_STATEMENT define (there are no reasons to disable it) 3 years ago
lctype.c issue #156 6 years ago
lctype.h issue #204 Code reorg 3 years ago
ldblib.c Fixed possibility to initialize empty strings (and booleans) 3 years ago
ldebug.c issue #217 define ravitype_t in terms of the new values 3 years ago
ldebug.h issue #204 Code reorg 3 years ago
ldo.c Removed RAVI_DEFER_STATEMENT define (there are no reasons to disable it) 3 years ago
ldo.h issue #204 Code reorg 3 years ago
ldump.c Bump binary version & smaller sizes for stripped binaries 3 years ago
lfunc.c Removed RAVI_DEFER_STATEMENT define (there are no reasons to disable it) 3 years ago
lfunc.h Removed RAVI_DEFER_STATEMENT define (there are no reasons to disable it) 3 years ago
lgc.c issue #196 reformat 3 years ago
lgc.h issue #204 Code reorg 3 years ago
linit.c issue #198 WIP add interface to RaviCompiler project 4 years ago
liolib.c issue #156 6 years ago
llex.c Removed RAVI_DEFER_STATEMENT define (there are no reasons to disable it) 3 years ago
llex.h Removed RAVI_DEFER_STATEMENT define (there are no reasons to disable it) 3 years ago
llimits.h issue #204 Code reorg 3 years ago
lmathlib.c issue #191 #193 backport random number generator from Lua 5.4 4 years ago
lmem.c issue #156 6 years ago
lmem.h issue #204 Code reorg 3 years ago
loadlib.c issue #198 Updated interface to the compiler lib 3 years ago
lobject.c issue #217 define ravitype_t in terms of the new values 3 years ago
lobject.h added missing optional types opcodes to JIT interface 3 years ago
lopcodes.c added missing optional types opcodes to JIT interface 3 years ago
lopcodes.h Removed RAVI_DEFER_STATEMENT define (there are no reasons to disable it) 3 years ago
loslib.c issue #156 6 years ago
lparser.c Fixed possibility to initialize empty strings (and booleans) 3 years ago
lparser.h Cleanup and Fixes 3 years ago
lprefix.h issue #204 Code reorg 3 years ago
lstate.c Removed RAVI_DEFER_STATEMENT define (there are no reasons to disable it) 3 years ago
lstate.h issue #204 Code reorg 3 years ago
lstring.c issue #156 6 years ago
lstring.h issue #204 Code reorg 3 years ago
lstrlib.c issue #195 lstrlib 3 years ago
ltable.c Finish type maps 3 years ago
ltable.h Finish type maps 3 years ago
ltablib.c issue #156 6 years ago
ltests.c some improvements to type checking via XmiliaH 3 years ago
ltm.c issue #222 Lua 5.4 change for bitwise ops 3 years ago
ltm.h issue #204 Code reorg 3 years ago
lua.c issue #203 leftover cleanup 3 years ago
luac.c issue #156 6 years ago
lundump.c changed types to strict (nil disallowed) in lcode.c 3 years ago
lundump.h Bump binary version & smaller sizes for stripped binaries 3 years ago
lutf8lib.c issue #195 lexer / utf8 improvements from Lua 5.4 4 years ago
lvm.c added missing optional types opcodes to JIT interface 3 years ago
lvm.h Removed RAVI_DEFER_STATEMENT define (there are no reasons to disable it) 3 years ago
lzio.c issue #156 6 years ago
lzio.h issue #204 Code reorg 3 years ago
ravi_alloc.c issue #151 adopt Doug Lea's allocator 6 years ago
ravi_alloc.h issue #204 Code reorg 3 years ago
ravi_arch.h issue #204 Code reorg 3 years ago
ravi_complib.c Update copyright notices 3 years ago
ravi_def.h issue #204 Code reorg 3 years ago
ravi_jit.c Update copyright notices 3 years ago
ravi_jit.h Update copyright notices 3 years ago
ravi_jitshared.c added missing optional types opcodes to JIT interface 3 years ago
ravi_jitshared.h Update copyright notices 3 years ago
ravi_membuf.c Update copyright notices 3 years ago
ravi_membuf.h issue #204 Code reorg 3 years ago
ravi_mirjit.c Removed RAVI_DEFER_STATEMENT define (there are no reasons to disable it) 3 years ago
ravi_mirjit.h Update copyright notices 3 years ago
ravi_nojit.c Update copyright notices 3 years ago
ravi_profile.c issue #204 Code reorg 3 years ago
ravi_profile.h issue #204 Code reorg 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.