purescript / trypurescript

PureScript in the browser
https://try.purescript.org
BSD 3-Clause "New" or "Revised" License
119 stars 50 forks source link

Add options for bare-bones use #309

Open mars0i opened 1 year ago

mars0i commented 1 year ago

Try Purescript! is similar to many other tools online (examples: https://ocaml.org/play, https://jsfiddle.net, https://vega.github.io/editor/#), with a code window on one side and and output window on the other.

The issue: However, Try Purescript! starts with an elaborate menu, so if a user wants to just try out a few expressions, they have to delete a bunch of text in the code window, first, or select an option from the menu with little code, and then delete the resulting code. (Issue #308 is relevant.)

While it definitely a nice feature to include a set of preloaded code examples (!), it would also be nice to be able to enter simple expressions and see what happens. Options:

Thanks.