dterei / ghcionline Goto Github PK
View Code? Open in Web Editor NEWOnline version of GHCi that supports safely executing untrusted code.
License: BSD 3-Clause "New" or "Revised" License
Online version of GHCi that supports safely executing untrusted code.
License: BSD 3-Clause "New" or "Revised" License
Hey @dterei
I authored and run tryhaskell.org. You can see it on my keybase: https://keybase.io/chrisdone which includes this github account and my tryhaskell.org domain.
And I'm currently working on an interpreter for GHC STG (https://github.com/chrisdone/prana) and once I'm able to interpret basic primops (ints, chars, integers) and pure code, I'm planning on making a web service that accepts a Haskell file as input, parses it with GHC's parser, whitelists imports and extensions (for safety reasons), and then compiles it to prana's bytecode format, and sends the bytecode back.
Prana will have its own interpreter (to run commandline), but I also want to implement a corresponding in-browser JS-based interpreter of the bytecode too (as a byte array). So that would be a great service to back a rewrite of tryhaskell and/or other educational tools (such as CodeWorld) that need to run Haskell, but it can be run in the browser, offloading CPU work to the user.
I think ghc.io
would be a super sweet domain for such a service, input GHC Haskell, receive bytecode. I saw that you were using it for a similar service but that it's no longer pointing to an active machine, and expires in 5 months. If you don't have any future plans for it, I'd love to adopt it.
I could wait 5 months and register it once it expires (presumably you weren't going to re-reg), but I didn't want to snatch it up without explicitly asking. This way there would be a transition process.
If you're happy to pass it over, my username on namecheap.com is chrisdone
with email [email protected]
.
Thanks in any case!
An expression is annoyingly stretching and shrinking when the cursor is in the middle of it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.