Discussion:
using LUAJIT with llvm compiler
Amir Ramezani
2014-08-08 18:42:52 UTC
Permalink
hi all,
i have some questions:
firstly, can i link the luajit object files using LLVM's linker library?
i want to port these together to an engine and create a compiler for that
can i use them together?
secondly, do i need to include a code for FFI to work with LLVM?
and thirdly and last, how can i tell luajit to use my functions and
classes? please note that i want to include them in the generated JIT
code?
thanks in advance
Evan Wies
2014-08-09 16:30:38 UTC
Permalink
This doesn't directly answer your question, but you might be interested
in looking at this -- either to use it itself or examine its implementation:

http://terralang.org/

-Evan
Post by Amir Ramezani
hi all,
firstly, can i link the luajit object files using LLVM's linker library?
i want to port these together to an engine and create a compiler for that
can i use them together?
secondly, do i need to include a code for FFI to work with LLVM?
and thirdly and last, how can i tell luajit to use my functions and
classes? please note that i want to include them in the generated JIT
code?
thanks in advance
Amir Ramezani
2014-08-09 19:00:31 UTC
Permalink
well, how can i use luajit and LLVM together?
please note, i want to include FFI and everything + my classes and functions
thanks in advance
Post by Evan Wies
This doesn't directly answer your question, but you might be interested
in looking at this -- either to use it itself or examine its
http://terralang.org/
-Evan
Post by Amir Ramezani
hi all,
firstly, can i link the luajit object files using LLVM's linker library?
i want to port these together to an engine and create a compiler for that
can i use them together?
secondly, do i need to include a code for FFI to work with LLVM?
and thirdly and last, how can i tell luajit to use my functions and
classes? please note that i want to include them in the generated JIT
code?
thanks in advance
Loading...