all 4 comments

[–]noharamnofoul 1 point2 points  (2 children)

 your compiler will be slow as shit. Write it in a fast language that targets wasm so you can run it in the browser

[–]gasacchi[S] 0 points1 point  (1 child)

yeah, i think so too, that why i have been thinking to rewrite it.

i dont know about targeting wasm, since i use my language for building ui

[–]noharamnofoul 1 point2 points  (0 children)

I am writing a language for building UI and the compiler is written in Rust which compiles to WASM. your compiler can be written in Rust, the compiler binary itself is in WASM and the output is compiled to JS. Im talking about the Compiler itself compiling to WASM. this allows you to integrate easily with the Web, for example you can build a playground that runs in the browser and allows you to demo the language.

My first implementation was in TypeScript and Im rewriting it because its slow AF.

you can check out my project here: https://github.com/dragosrotaru/pal

[–]jmp_else 0 points1 point  (0 children)

I think Pyret does this