carpeg-cli
v1.0.0
Published
Carpeg generator interface
Downloads
4
Readme
carpeg-cli
Carpeg generator interface for node
Installation
$ npm install carpeg-cli
Usage
$ carpeg generate inputGrammar.cpeg outputFile.php --target php --name MyParserName
include("./outputFile.php");
$parsed = MyParserName::parse('input string');
echo $parsed->hadError; // true