gabrielflorit / script-8.github.io

A JavaScript-based (React + Redux) fantasy computer for making, sharing, and playing tiny retro-looking games.
https://script-8.github.io/
MIT License
646 stars 35 forks source link

Compile to JS langs? #186

Closed Camto closed 5 years ago

Camto commented 5 years ago

Would it be easy/interesting/a good idea to add extra compile to JS languages to SCRIPT-8? An example would be some kind of Lisp, which still doesn't have a fantasy console. Would work with the functional, pure approach here. Maybe even TypeScript.

gabrielflorit commented 5 years ago

lisp would definitely be interesting. The compile part would have to happen before the code gets evaluated, so it can be JS sent to the update/draw loop. I'm not opposed - interesting idea for sure.

gabrielflorit commented 5 years ago

Closing this since I've decided to stick with JS.