5 ms·
Haskell in JavaScript
- brl 16y agoREPL live in your browser here: http://hiji.tinyrocket.se/ http://hiji.tinyrocket.se/
- shearjashub 16y agoVery nice! I've been loving Haskell, but I spend most of my time in Javascript. This is a pleasant mix of both.
- zbanks 16y agoAwesome. It'd be cool to see http://tryhaskell.org/ http://tryhaskell.org/ use this. Also, when using the REPL, it stops after about 2 seconds trying to print "[0..]", which is a very nice feature.
- pufuwozu 16y agoIf you're interested in this, you might also want to look at the JS backends for GHC and Yhc: http://vir.mskhug.ru/ http://vir.mskhug.ru/ http://haskell.org/haskellwiki/Yhc/Javascript http://haskell.org/haskellwiki/Yhc/Javascript
- thesz 16y agohttp://github.com/sviperll/ghcjs http://github.com/sviperll/ghcjs It's another attempt by "vir" to create haskell-to-javascript compiler. Now it uses "GHC as a library" (ghc package) and should be more amenable to hacking.
- sdurkin 16y agoExcellent. Is it just me, or does JS seem like its fast becoming the new object code?
- DanielRibeiro 16y agoIt's about time. Because of browsers, jdk 6+ (which comes with rhino, the javascript runtime) and v8 (specially on nodejs), javascript is one of the most widely deployed languages/platforms. It is on desktops, mobile phones and servers.
- jmspring 16y agoOnce everything runs in JS, the browser will become the defacto write-once, run-anywhere platform...
- mdaniel 16y agoI believe that Google agrees with you: http://code.google.com/p/chromium-os/ http://code.google.com/p/chromium-os/
- bhickey 16y agoFor something along the same lines, I'd like to shamelessly plug http://www.wescheme.org/ http://www.wescheme.org/ The heart of WeScheme is moby-scheme a self-hosting compiler http://github.com/dyoo/moby-scheme http://github.com/dyoo/moby-scheme . The server runs on AppEngine.