Skip to content

Command Line App #50

Description

@yepher

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

Argument Description
grammar The input grammar file
output-path The path where class files will be generated
output-class The name of the class to generate. The extensions .m and .h will be appended to this file

The CLI took would be added to a build phase in an XCode project before the compile step.

screen shot 2016-11-15 at 7 52 12 pm

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions