Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

port JS/CC to nodejs

  • Loading branch information...
commit b9f520990d9adc6eb8dcc368aa5cdab11b6c78f4 1 parent 79e857e
badlee authored
Showing with 11 additions and 13 deletions.
  1. +5 −5 README.md
  2. +6 −8 jscc.js
10 README.md
View
@@ -26,7 +26,7 @@ For all documentation read doc file in doc/
-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 by defalut driver_node.js_
+ -t --template <file> Use template file <file> as parser template (by defalut driver_node.js_ located in jscc.js folder)
-v --verbose Run in verbose mode
-w --warnings Print warnings
-c --compress Compress output source using PACKER BASE62
@@ -38,8 +38,8 @@ For all documentation read doc file in doc/
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)
+ - dragon.par : Port of my own language to javascript (port in progress...)
+ - php.par : Grammar from phype project (port of php in progress...)
+ - ruby.par : Grammar from phype project (port of ruby in progress)
- calc.par : Calculator grammar from JS/CC sample
- - xpl.par : gramar for eXample Programming Language from JS/CC
+ - xpl.par : Grammar for eXample Programming Language from JS/CC
14 jscc.js
View
@@ -4521,16 +4521,14 @@ function help()
help += " -h --help Print this usage help\n";
help += " -i --version Print version and copyright\n";
help += " -o --output <file> Save output source to <file>\n";
- help += " -p --prefix <prefix> Use <prefix> as sequence pre-\n";
- help += " fixing methods and variables\n";
- help += " -t --template <file> Use template file <file> as\n";
- help += " parser template\n";
+ help += " -p --prefix <prefix> Use <prefix> as sequence pre-fixing methods and variables\n";
+ help += " -t --template <file> Use template file <file> as parser template\n";
help += " -v --verbose Run in verbose mode\n";
help += " -w --warnings Print warnings\n";
- help += " -c --compress Compress output source using BASE62\n";
- help += " -s --shrink Shrink variables of output source\n";
- help += " -cs --compress-shrink Shrink variables of output source and Compress output source using BASE62\n";
- help += " -m --minimize Minimize output source\n";
+ help += " -c --compress Compress output source using PACKER BASE62\n";
+ help += " -s --shrink Shrink variables of output source using PACKER\n";
+ help += " -cs --compress-shrink Shrink variables of output source and Compress output source using PACKER BASE62\n";
+ help += " -m --minimize Minimize output source using PACKER\n";
_print( help );
}
Please sign in to comment.
Something went wrong with that request. Please try again.