Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A parser for the scripting language Galaxy that is used in SC2. The parser is written in Haskell using Parsec.
Haskell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src
COPYING
README.markdown

README.markdown

Exampel

galaxy-parser includes a small sampel program that reads file names from command line (use -s for standard input), parses their content and output the haskell datastructures or a list of parse errors.

To build the program just do ghc --make main.hs in the src/ directory.

Dependencies

galaxy-parser should work on the haskell platform

Disclaimer

The actual syntax for galaxy is still rather unknown. galaxy-parser currently parses all galaxy files that I got my hands on, but the parse tree has not undergone any closer inspection. Precedence rules are just guessed.

Author

phyrex1an (Mikael Bung)

License

GPL 3

Something went wrong with that request. Please try again.