There are two reference implementations for Perl. One is written by Stephen Mueller is similar to Sean's lower-level Lua wrapper:
https://metacpan.org/pod/XS::TCC and another, written by me, is a bit more complicated, but also a bit more flexible: https://metacpan.org/pod/C::TinyCompiler David On Thu, Jan 2, 2014 at 1:43 AM, Sean Conner <[email protected]> wrote: > It was thus said that the Great Kevin Ingwersen once stated: > > Hey. > > > > Can somebody use tcc’s script-ability as a library call - or is there > even > > a libtcc? > > Yes there is. In fact, I've wrapped TCC into a Lua module: > > https://github.com/spc476/lua-conmanorg/blob/master/src/tcc.c > > and a higher level module on top of that: > > https://github.com/spc476/lua-conmanorg/blob/master/lua/cc.lua > > -spc > > > _______________________________________________ > Tinycc-devel mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/tinycc-devel > -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." -- Brian Kernighan
_______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
