This is a utility to automatically reformat and refactor the source code of Cart Life, an independent, open-source game written in the scripting language of Adventure Game Studio. It may or may not be useful for other purposes.
It also might serve as an example of how to write a comment-preserving parser using Haskell's Parsec parsing library -- although maybe not a very good example, given that it is my first Haskell program.
If you're going to try to build this, you're going to need an installation of the Haskell Platform with GHC 7.6.3 or better.
- Set the
CARTLIFE
environment variable to the Cart Life source directory - In a shell with
ghc
in the path, runparse.bat
orparse.sh
. - Caveat: I'm still working out exactly what this will do.
- Adventure Game Studio (has scripting language docs)
- AGS source
- Official Cart Life Page (currently disabled)
- Cart Life Archive (currently has game and source download links, courtesy of the Internet Archive)