DEV Community

Discussion on: The AIM-lang project

Collapse
 
areknawo profile image
Arek Nawo

Most likely.

Collapse
 
qm3ster profile image
Mihail Malo

Why not Rust?
You can always export the AST as JSON for dev tools.
Do you expect to rely on eval or new Function(string) while prototyping, before switching to LLVM?

Thread Thread
 
areknawo profile image
Arek Nawo

In fact, yes - Rust is a good choice, but I wanted to create this language in JS. Of course, compiler performance may not be perfect, but even if, then I may have planned for self-hosting this language. Haven't thought about prototyping much by now, only parser and LLVM docs ( a lot of reading ) but yeah, a small interpreter would be nice to have. For now, I focus on syntax with a new post coming soon 👍