This page contains an archive of some of my various projects, both work-related and personal. The software and information here is provided for interest and should be considered unsupported, but please feel free to email me to ask any questions or comment on any bugs.
REAP - Resource Energy Accounting Program
For a number of years I have been the lead developer of REAP, a software tool for Stockholm Environment Institute. REAP is aimed at decision-makers in local and national government. It uses input/output modelling of pollutants to allow the user to perform scenarios and assess their environmental impact. More information about REAP.Native Python ANSI C parser
I couldn't find a suitable Python-based parser for ANSI C, so I wrote one. ANTLR was too Java-based, and I really wanted a native Python implementation that I could hack around with for another project. Also, existing C grammars were incomplete and sometimes erroneous. As well as AST generation, my parser supports code generation, simple AST transformation, and some rudimentary static analysis routines that implement reachability checking and call graph generation (using DOT as an output format). Code needs tidying up before release, contact me if you want me to hurry up.