Skip to content

Commit

Permalink
port JS/CC to nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
badlee committed May 17, 2011
1 parent 029954e commit dbb75e0
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions README.md
Expand Up @@ -14,34 +14,34 @@ To use JS/CC and for understanding its internals and behavior, some knowledge of

## DOCUMENTATION

For all documentation read doc file in doc/
For all documentation read doc file in doc/

## HOW TO USE

node jscc.js [options] filename

## OPTIONS

-h --help Print this usage help
-i --version Print version and copyright
-o --output <file> Save output source to <file>
-p --prefix <prefix> Use <prefix> as sequence pre-
fixing methods and variables
-t --template <file> Use template file <file> as
parser template
-v --verbose Run in verbose mode
-w --warnings Print warnings
-c --compress Compress output source using BASE62
-s --shrink Shrink variables of output source
-cs --compress-shrink Shrink variables of output source and Compress output source using BASE62
-m --minimize Minimize output source
-h --help Print this usage help
-i --version Print version and copyright
-o --output <file> Save output source to <file>
-p --prefix <prefix> Use <prefix> as sequence pre-
fixing methods and variables
-t --template <file> Use template file <file> as
parser template
-v --verbose Run in verbose mode
-w --warnings Print warnings
-c --compress Compress output source using BASE62
-s --shrink Shrink variables of output source
-cs --compress-shrink Shrink variables of output source and Compress output source using BASE62
-m --minimize Minimize output source

## Examples

For sample grammar see par/ folder.
You will found
- dragon.par : Port of my own language to javascript (port is partial)
- php.par : Grammar from phype project (port of php is partial)
- ruby.par : Grammar from phype project (port of ruby is partial)
- calc.par : Calculator grammar from JS/CC sample
- xpl.par : gramar for eXample Programming Language from JS/CC
- dragon.par : Port of my own language to javascript (port is partial)
- php.par : Grammar from phype project (port of php is partial)
- ruby.par : Grammar from phype project (port of ruby is partial)
- calc.par : Calculator grammar from JS/CC sample
- xpl.par : gramar for eXample Programming Language from JS/CC

0 comments on commit dbb75e0

Please sign in to comment.