I've pulled together a first alpha release of MaxPre - a preprocessor for BlitzMax.

It should support most syntax, but may well throw many random looking errors. It has a simple support for properties, like those in the .NET languages, through the new keyword Property. the test file will show how they work.

The zip contains maxpre.exe, which is the executable. It can be run from the command line or by drag&dropping a source file on it. Dragging the testfile.bmx on it will create testfile.pp.bmx. For it to work one of the following is needed: an environment variable BMXPATH pointing to BlitzMax or the same in bmxpath.txt.

Download: MaxPre Alpha (50KB zip)