[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C source to Lua (Luajit) source
- From: Victor Bombi <sonoro@...>
- Date: Sat, 4 Jul 2020 15:51:54 +0200 (CEST)
> On July 4, 2020 at 1:56 PM malist <mailing.list@manageapp.com> wrote:
>
>
> Hello.
>
> Are there tools that convert C (or C++) source code to Lua source code? I want to pre-convert C to Lua and then fix it to work with pure Lua code or luajit ffi code.
>
> I have used vscode extension "batch-replacer" to do simple syntax conversion, but it is very dummy.
>
> Maybe some libclang implementation?
>
>
> - Pasi Mankinen
In the case of LuaJIT ffi nothing needs to be converted. That is the strength of ffi.
Victor Bombí