Online Playground
sunjay opened this issue · comments
Similar to: https://play.rust-lang.org/
It would be cool if there could be a website where people could try the brain compiler. They should be able to type brain code, run the compiler and then see/download the brainfuck code. Eventually they should even be able to run the brainfuck in the browser and even provide input interactively. (cpp.sh is an excellent example of a site that does this really well)
This will eventually belong in a separate repo, however this issue is the starting point of planning the project. The repo will probably be called brain-lang/brain-playground
or something.
Ideas
Backend
Server: https://rocket.rs/
Hosting: Heroku with Rust buildpack
- Uses
brain
as a library and configures it using the options provided by the frontend - Returns the compiler output (error or not)
Frontend
Usual technologies
Editor: https://ace.c9.io
Hosting: GitHub pages
- We could potentially buy a domain too