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?
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 👍
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
An odd choice for Node.js. Will the development be on GitHub?
Most likely.
Why not Rust?
You can always export the AST as JSON for dev tools.
Do you expect to rely on
eval
ornew Function(string)
while prototyping, before switching to LLVM?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 👍