Giter Site home page Giter Site logo

dterei / ghcionline Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 6.0 481 KB

Online version of GHCi that supports safely executing untrusted code.

License: BSD 3-Clause "New" or "Revised" License

Makefile 0.09% Shell 0.08% Haskell 12.88% CSS 13.35% JavaScript 69.30% HTML 4.30%

ghcionline's People

Contributors

dterei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ghcionline's Issues

Can I adopt your ghc.io domain for a similar service?

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!

Cursor

An expression is annoyingly stretching and shrinking when the cursor is in the middle of it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.