Try PureScript is updated!

I’m super excited to announce that Try PureScript has been updated and is now running the latest version of the compiler, v0.13.6. Huge thanks to @natefaubion and @gabejohnson for their work on this!

Check it out: https://try.purescript.org

This also means we’ve moved almost all of the PureScript infrastructure across from Phil’s server, as described in Transferring PureScript infrastructure. The only remaining thing is PureScript News, which is available at news.purescript.org (which is still pointing to Phil’s server). It seems to have an SSL certificate error now though, so I’m not sure if anyone was/is using it; I’m tempted to leave it for now and look at resurrecting it only if there’s demand.

19 Likes

With these updates, hopefully soon we will be able to start opening up Try PureScript to more of the ecosystem. Part of this update is to stop shipping a singular bundle with everything in it, as well as an FFI shim mechanism which will load whitelisted libraries from unpkg.com. Meaning we can run react and react-basic, as well as various other npm libraries that translate fine to the browser. If you would like to see this happen sooner rather than later, you might get involved with https://github.com/purescript/trypurescript/issues/154.

3 Likes

Congrats on updating Try PureScript!

Also, I think this is the first I’ve ever heard of news.purescript.org. What was it originally used for?

The other day I stumbled on the news section on the Elm website (and I quite liked that it exists), so I guess it served a similar function? I.e. to have a place to make announcements about the development of the language.
These days we use this Discourse to do that, but I feel that gathering the important news all in one place could be valuable - to keep track of what’s happening, of the roadmap, the general direction, etc. Of course this kind of work needs an editor/author/curator, so I guess this can happen only if someone steps up to take care of it.

That’s not what news.purescript.org was, it was just an aggregator, showing recent activity on stack overflow, Reddit, discourse, etc.

If React is already supported on the backend, I think it’d be good to link to a gist example which shows how to get started React, at least. I really think it’s a shame from a beginner onboarding point of view to lose that feature, since it’s a pretty compelling use case, and shows that PureScript is quite practical. I mean, Thermite wasn’t the best React library in the world :smiley: but I think just having React available in the environment was more valuable.

3 Likes

I made https://try.purescript.org/?gist=828a40781d155fe74d91f1332ceaa922&session=81bc162f-c347-bf1b-8c07-6a2cd2c4c166 but didn’t get around to linking to it yet