gcheck - a Galaxy parser

Started by Zoxc, March 13, 2010, 05:50:13 PM

Previous topic - Next topic

Zoxc

gcheck is a parser that will validate the syntactic structure of a Galaxy script. You simply pass the Galaxy script filename to the program and it will parse it and follow includes. Includes are looked for in the current folder.

The grammar uses is a LL(1) superset of the Galaxy grammar and it might allow things SC2 will not. It doesn't not do semantic analysis either so I suggest you chain it with something like LAPIN's Galaxy syntax validator.

uber1984


Neat, i can actually use this for my private map tinkering.


Cheers,
uber1984

Quote from: Zoxc on March 13, 2010, 05:50:13 PM
gcheck is a parser that will validate the syntactic structure of a Galaxy script. You simply pass the Galaxy script filename to the program and it will parse it and follow includes. Includes are looked for in the current folder.

The grammar uses is a LL(1) superset of the Galaxy grammar and it might allow things SC2 will not. It doesn't not do semantic analysis either so I suggest you chain it with something like LAPIN's Galaxy syntax validator.

Zoxc

Version 1.1 fixes some errors in the grammar.