This a port of Ian Piumarta's peg/leg implementation that can be compiled on both Windows and Mac OS X.
On Windows you would need Visual Studio 2010, on Mac OS X you would need Xcode 4.3.2. You can try compiling with different versions of compiler – it might work.
Simply run build.cmd
on Windows or build.sh
on Mac OS X.