addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrosseditemptyheartfacebookfolderfullheartglobegmailgoogleimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

Implementing Python in Haskell - MHUG

Bernard Pope presents:


"""

Over the past couple of years I've developed an unusual hobby: implementing Python in Haskell.


The first iteration resulted in berp ( https://github.com/bjpop/berp ), a Python-to-Haskell translator. To this day it remains my most popular repository on github. The second iteration resulted in blip ( https://github.com/bjpop/blip ), which compiles Python to bytecode, and is compatible with the standard Python implementation CPython.


In this talk I will explain why I picked up this hobby, and where it might be going. I'll also talk about various Haskell features which underpin the two implementations.

"""

Join or login to comment.

  • Lyndon M.

    Bernie just sent me a link to the slides he used during his presentation: http://www.berniepope.id.au/docs/ImplementPythonInHaskell.pdf

    Enjoy!

    1 · April 25, 2014

    • Noon S.

      thanks! if anyone else was wondering what the "->" thing in function definitions in python were (i'd never seen it before), they are function annotations - http://legacy.python....­ . cool!

      April 25, 2014

  • David O.

    Awesome. Wish I could be there, but I'm going to be away for the long weekend :(

    March 31, 2014

  • Lyndon M.

    I've invited Bernie Pope to give a talk about the work he has done using Haskell on a couple of interesting libraries involving Python interpretation and compilation. I'll update the description shortly.

    1 · March 31, 2014

11 went

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy