Rename "compiler" functionality to Evaluator
Allows for stdin input for evaluation when no input file is provided.
This commit is contained in:
17
README.md
17
README.md
@ -58,7 +58,7 @@ You can easily build and/or run this project using [Nix](https://nixos.org/downl
|
||||
`./result/bin/tricu --help`
|
||||
|
||||
```
|
||||
tricu - compiler and repl
|
||||
tricu Evaluator and REPL
|
||||
|
||||
tricu [COMMAND] ... [OPTIONS]
|
||||
tricu: Exploring Tree Calculus
|
||||
@ -70,17 +70,20 @@ Common flags:
|
||||
tricu [repl] [OPTIONS]
|
||||
Start interactive REPL
|
||||
|
||||
tricu compile [OPTIONS]
|
||||
Compile a file and return the result of the expression in the final line
|
||||
tricu eval [OPTIONS]
|
||||
Evaluate a file and return the result of the expression in the final line
|
||||
|
||||
-f --file=FILE Relative or absolute path to file input for compilation
|
||||
-o --output=OUTPUT Optional output file path for resulting output
|
||||
-t --form=FORM Output form: (fsl|tree|ast|ternary|ascii)
|
||||
-f --file=FILE Optional input file path for evaluation.
|
||||
Defaults to stdin.
|
||||
-o --output=OUTPUT Optional output file path for resulting output.
|
||||
Defaults to stdout.
|
||||
-t --form=FORM Optional output form: (fsl|tree|ast|ternary|ascii).
|
||||
Defaults to fsl.
|
||||
|
||||
tricu decode [OPTIONS]
|
||||
Decode a Tree Calculus value into a string representation
|
||||
|
||||
-f --input=FILE Optional file path containing a Tree Calculus value.
|
||||
-f --input=ITEM Optional file path to attempt decoding.
|
||||
Defaults to stdin.
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user