berp, is an implementation of Python 3, written in Haskell. It is now available in AUR.
It provides a compiler and an interpreter. In both cases the input Python program is translated into Haskell code. The compiler turns the Haskell code into machine code. The interpreter runs the Haskell code immediately via the GHCi interpreter. The user interface of the interpreter imitates the one provided by CPython.
For more information:
- See the tutorial
- The github home.
>>> fac(100.0)
berp.exe: panic! (the ‘impossible’ happened)
(GHC version 6.12.3 for i386-unknown-mingw32):
berp unsupported. 100.0