Simple ML to Python

Sunday, July 26th, 2009

While studying for my exams, I tried to implement some examples from a book about virtual machines.
The result was a nice little program which can compile simple functional programs into python bytecode!
The only thing you need is the ply parser generator. To compile a function just use:
import topcompiler

@topcompile.compile
def func(x, y):
“”"let i [...]

Mercurial: hggnome-keyring Extension

Friday, April 24th, 2009

While surfing around I discovered a nice little Mercurial Extension: hgkeychain. Unfortunately it’s only for Mac. As Gnome has password management of it’s own, I looked there is someway to access it via Python. And there is!
So I wrote a quick extension myself: hggnome-keyring
It uses the usual yadda yadda for installing (see mercurial docs). Only [...]

Perl

Thursday, March 5th, 2009

If you do not know perl, don’t fret.. it’s extremely easy to learn.
Found in a programming forum from non-coders for non-coders…
I lol’d!