[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Development announcement - Ravi/Lua Compiler project
- From: Dibyendu Majumdar <mobile@...>
- Date: Tue, 10 Mar 2020 21:15:38 +0000
On Tue, 10 Mar 2020 at 08:28, Domingo Alvarez Duarte <mingodad@gmail.com> wrote:
>
> Not exactly what you are describing but there is this project
> http://terralang.org/
>
> So I am looking for ideas / suggestions for what the api for this
> > library look like.
Hi, I don't think Terra has a library api exposing the lexer or parser
etc. but thank you for the feedback.
In case it wasn't clear - I have already got a lexer and a parser. I
am trying to expose this to users, example a way for users to traverse
the AST. I have looked at how Clang does it, and Go does it - I am
leaning more towards a Visitor pattern so that the AST itself doesn't
need to be exposed.
Regards