[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaJIT FFI purely using .h files; and handling the multiple definition attempts
- From: Andrew Yourtchenko <ayourtch@...>
- Date: Mon, 28 Feb 2011 00:47:58 +0100
On Mon, Feb 28, 2011 at 12:29 AM, Michal Kottman <firstname.lastname@example.org> wrote:
> On Sun, 2011-02-27 at 23:58 +0100, Andrew Yourtchenko wrote:
>> http://mcpp.sourceforge.net/ seems to have a suitable license.
> You could also try RPP , that we use in Lqt as a part of cpptoxml.
> It is licensed under GPLv2, however, I have not seen an official project
> for that yet (it was/is? used internally in Qt).
>  https://github.com/mkottman/lqt/tree/master/cpptoxml/parser/rpp
Thanks! I wanted to avoid a different than MIT/X11 license though.
>> (Also for fun I've started to implement it as a Lua-only primitive -
>> https://github.com/ayourtch/luajit-fun/tree/master/cpp; but it is
>> pretty ugly code/dysfunctional at the moment, but can already do
>> simple substitutions).
> Are you sure you want to do everything "by hand"? :) I am sure LPeg
> would be a great help here, and the source would be certainly shorter.
> But I admire your motivation ;)
Yes, "bare-hands" was the goal :-)