Open yepher opened 8 years ago
This is a feature request.
It would be nice if there were a command line app similar to ParserGenApp. This way XCode could be configured to automatically build the grammar as part of the compile phase.
ParserGenApp
This might be a way it would work
pegkit --grammar /path/to/grammar/input.grammar --output-path /path/where/to/generate/source --output-class MyClassName
.m
.h
The CLI took would be added to a build phase in an XCode project before the compile step.
build phase
I found a PR for this:
https://github.com/itod/pegkit/pull/29
This is a feature request.
It would be nice if there were a command line app similar to
ParserGenApp
. This way XCode could be configured to automatically build the grammar as part of the compile phase.This might be a way it would work
pegkit --grammar /path/to/grammar/input.grammar --output-path /path/where/to/generate/source --output-class MyClassName
.m
and.h
will be appended to this fileThe CLI took would be added to a
build phase
in an XCode project before the compile step.