[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LLVM bindings for Lua
- From: Dibyendu Majumdar <mobile@...>
- Date: Mon, 17 Aug 2015 23:37:20 +0100
On 17 August 2015 at 03:55, 书呆彭, Peng Yi <nerditation@outlook.com> wrote:
> you might want to borrow some idea from terra, see [1] for a simple example.
>
> imho, LLVM's API is, by definition, too low-level. I don't think I would
> like
> to write a compiler in Lua using such low level API. I just can't keep
> the contexts in mind. I'd rather deal with things like AST or similar.
>
Yes but ... Ravi is already a JIT compiled language and being Lua -
one can dynamically build and compile Lua functions anyway.
An LLVM binding has a different purpose - it basically makes the power
of LLVM available to Lua users.
Regards