Berp: An implementation of Python 3, that compiles to Haskell
hackage.haskell.org
hackage.haskell.org
But then I started reading the source code, and the amount of python features supported with regression tests is impressive! (Especially for something coming from the Haskell community which is notoriously anti-automated-tests).
http://github.com/bjpop/berp/tree/master/test/regression/fea...
Especially cool is the fact that you can use callCC!
Ummm... the Haskell community invented QuickCheck and HPC, the limit case of automated testing tools...
* http://en.wikipedia.org/wiki/QuickCheck * http://projects.unsafeperformio.com/hpc/
But on the whole, I disagree: in my experience, compilers for non-trivial languages have an extremely large surface area, especially when optimization is involved. Language features have the habit of interacting with each other in non-trivial ways, and the combinatorics can quickly get overwhelming.
What? That surprises me. I thought all Haskellers loved QuickCheck.
$ cabal -V
cabal-install version 0.8.2
using version 1.8.0.2 of the Cabal library
$ ghc -V
The Glorious Glasgow Haskell Compilation System, version 6.12.1
$ cabal install berp
Resolving dependencies...
cabal: cannot configure berp-0.0.1. It requires integer -any
There is no available version of integer that satisfies -any
Does it work for anybody? Does anyone know how to solve this?Maybe you wanted to ask, "does it run Twisted and/or Zope", which use frame introspection (sadly, so very sadly), but otherwise, yuck.
http://hackage.haskell.org/trac/ghc/ticket/3972
GHC developers are on it. Please wait.
Edit: modded down for what? The truth is he spams all these fora with irrelevant articles.
If you must complain, you're unlikely to find much agreement here since people reading these comments are probably interested in the article.
http://www.reddit.com/r/coding
3 articles in 3 weeks, all of which above 75% positive.