Skip to content

jclee/cartparse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cartparse

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.

How to use

  • Set the CARTLIFE environment variable to the Cart Life source directory
  • In a shell with ghc in the path, run parse.bat or parse.sh.
  • Caveat: I'm still working out exactly what this will do.

Reference

About

Parser/pretty printer for AGS script used in Cart Life

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages