DarkBlizz

Game On => STARCRAFT II: WINGS OF LIBERTY => Galaxy Maps => Topic started by: Zoxc on March 13, 2010, 05:50:13 PM

Title: gcheck - a Galaxy parser
Post by: 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.
Title: Re: gcheck - a Galaxy parser
Post by: uber1984 on March 13, 2010, 08:47:05 PM

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.
Title: Re: gcheck - a Galaxy parser
Post by: Zoxc on March 16, 2010, 06:00:52 PM
Version 1.1 fixes some errors in the grammar.