diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2017-03-13 14:27:41 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2017-03-13 14:27:41 -0400 |
| commit | b92b5bf9676fa647ba855dbf57022453f63a0d02 (patch) | |
| tree | 75cba06466aa98181fe9fa1db20f3ebca17baca6 /dice-lang/data | |
| parent | 799fa9145cf0cbb8c16e441185045a488ded46d7 (diff) | |
Start of help system
Diffstat (limited to 'dice-lang/data')
| -rw-r--r-- | dice-lang/data/cli.help | 0 | ||||
| -rw-r--r-- | dice-lang/data/help/cli.help | 42 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dice-lang/data/cli.help b/dice-lang/data/cli.help deleted file mode 100644 index e69de29..0000000 --- a/dice-lang/data/cli.help +++ /dev/null diff --git a/dice-lang/data/help/cli.help b/dice-lang/data/help/cli.help new file mode 100644 index 0000000..b517d32 --- /dev/null +++ b/dice-lang/data/help/cli.help @@ -0,0 +1,42 @@ +Help for DiceLang v0.2 CLI arguments: + -d or --debug Turn on debug mode. + Turns on debug mode, which prints additional information that + may be useful for finding errors. + + -nd or --no-debug Turn off debug mode. + Turns off debug mode. + + -po or --postfix Turn on postfix mode. + Turns on postfix mode, which disables the shunter. + + -npo or --no-postfix Turn off postfix mode. + Turns off postfix mode. + + -pr or --prefix Turn on prefix mode. + Turns on prefix mode, which reverses the expression instead of + shunting it. + + -npr or --no-prefix Turn off prefix mode. + Turns off prefix mode. + + -se or --step-eval Turn on step-eval mode. + Turns on step-evaluation, which shows the evaluation process + step-by-step. Currently slightly broken. + + -nse or --no-step-eval Turn off step-eval mode. + Turns off step-evaluation. + + -D or --define <name> [<val>] Define a constant + Defines name as a textual alias for val. If val isn't provided, + name is deleted wherever it occurs. These constants are applied + once to the input lines with a priority of 5 + + -df or --define-file <filename> Load defines from a file + Loads defines from a file. Consult 'define-file' in the DiceLang + help system for details on the format. + + -ctf or --compiler-tweak-file <filename> Load compiler tweaks + from a file + Loads a series of compiler tweaks from a file. Consult + 'compiler-tweak-file' in the DiceLang helpy system for details + on the format. |
