[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Development announcement - Ravi/Lua Compiler project
- From: Domingo Alvarez Duarte <mingodad@...>
- Date: Tue, 10 Mar 2020 09:28:26 +0100
Not exactly what you are describing but there is this project
From their website:
Terra is a low-level system programming language that is embedded in and
meta-programmed by the Lua programming language.
On 9/3/20 21:28, Dibyendu Majumdar wrote:
On Fri, 21 Feb 2020 at 21:55, Dibyendu Majumdar <email@example.com> wrote:
I am pleased to announce a new project to create a Lua/Ravi parser and
code generator that is not a replacement for the default one in
Lua/Ravi but can be used for more specialised code generation, as well
as as a means of understanding how the parser and code generator
works. My hope is that it will enable the study of Lua implementation
in educational institutions, as I intend to use classical methods of
compilation. Moreover, ease of maintenance is a bigger priority than
sheer memory or performance efficiency.
So I am looking for ideas / suggestions for what the api for this
library look like.
I need a C api to start with. I have been looking at other libraries
to see what they do, but none stands out as ideal. Perhaps Go is the
only language that has a built-in module that gives you lexer, parser
Suggestions welcome. If you know of a great example then I would
appreciate if you can give me a reference to the project.
In terms of modules, there will be at least following:
3. Linearizer (Intermediate Linear Code)
5. Code generator