[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Development announcement - Ravi/Lua Compiler project
- From: Sean Conner <sean@...>
- Date: Mon, 9 Mar 2020 18:06:57 -0400
It was thus said that the Great Dibyendu Majumdar once stated:
> On Mon, 9 Mar 2020 at 21:37, Sean Conner <firstname.lastname@example.org> wrote:
> > I have worked with TCC (Tiny C Compiler) which can be embedded into a
> > larger context as you can call it as a library. It does all the steps,
> > lexer, parser, code generation (but very little optimization). The official
> > repo is at <https://repo.or.cz/tinycc.git>.
> Does it offer api for each layer?
No, it does not. It does allow some control though---the location of the
header files, predefined defines, output format, but no hooks into the
individual portions. In fact, I don't think it has many internal portions
as it's just a one-pass compiler.
> > > Suggestions welcome. If you know of a great example then I would
> > > appreciate if you can give me a reference to the project.
> > Hmm ... have you heard of nanopass compilers?
> > http://lambda-the-ultimate.org/node/1589
> No, I hadn't. Thank you for the link.