tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Introspection


From: Basile STARYNKEVITCH
Subject: Re: [Tinycc-devel] Introspection
Date: Tue, 22 Apr 2008 07:58:01 +0200
User-agent: Mozilla-Thunderbird 2.0.0.12 (X11/20080420)

Sebastien Loisel wrote:
Dear TCC,

I was eyeing tcc today for a possible little toy experiment, to implement a micro-lisp and using tcc for dynamic code generation.

You might also consider using LLVM or libjit for that purpose.
http://llvm.org/ http://www.gnu.org/projects/dotgnu/

With TCC, you have to generate valid C syntax. Both LLVM & libjit provides you with a higher level API (different one in LLVM and in libjit) to build some internal representation of the generated code, and then have it translated to machine code.

You might also consider GNU lightning. http://www.gnu.org/software/lightning/

For libjit, use the CVS since it is working on AMD64.

If you really are interested in generating C code from Lisp, look at bigloo, stalin, chicken, and my MELT work on GCC.
http://gcc.gnu.org/wiki/MiddleEndLispTranslator

--
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***




reply via email to

[Prev in Thread] Current Thread [Next in Thread]