DEV Community

Discussion on: Hello World! in AIM

Collapse
 
athif23 profile image
At Indo

I'm interested with this project. This looks good.

My question, what would you use for the Lexer, and the parser? Have you thought about what you will use? If not, I recommend use moo for the lexer and for nearley or jison parsers. Personally I like nearley more because it's easier.

Or, maybe you want to create your own? Thanks.

Collapse
 
areknawo profile image
Arek Nawo

By this moment I explored only Jison, but thanks for other suggestions. Most likely I try to do my own.

Collapse
 
pancy profile image
Pan Chasinga

I know @areknawo is interested in writing a compiler in JS or TS, but something to look at is ReasonML, which is a JS-like language over Ocaml, a very nice parser language.