1.0.4 • Published 10 years ago

mpg v1.0.4

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
10 years ago

mpg - Maaperture Parser Generator

Copyright (c) 2014, Alberto Garbui (aka JK) www.ajk.altervista.org

All rights reserved.

Install:

npm install -g mpg

Usage:

mpg <command> [options]

Commands:

generate               generate a parser from a grammar file
test                   test a parser against a dsl file

Options:

-h, --help                    output usage information
-V, --version                 output the version number
-G, --grammar <grammar_file>  specify the input grammar
-P, --parser <parser_file>    specify the parser file to test
-D, --dsl <dsl_file>          specify the dsl file to test
-O, --output <output_file>    specify the output file

Examples:

$ mpg generate -G maaperture_dsl_grammar.js -O DSLParser.js
$ mpg test -P DSLParser.js -D example.dsl -O result.json
1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago