Files
cs420/bin/kecc_cli.yml
2020-04-23 00:56:28 +09:00

49 lines
1.1 KiB
YAML

name: kecc
args:
- parse:
long: parse
help: Parses the input file
- print:
short: p
long: print
help: Prints the input AST
- irgen:
short: i
long: irgen
help: Generates IR
- irparse:
long: irparse
help: Parses the input IR file
- irprint:
long: irprint
help: Prints the input IR AST
- optimize:
short: O
long: optimize
help: Optimizes IR
- simplify-cfg:
long: simplify-cfg
help: Performs simplify-cfg
- mem2reg:
long: mem2reg
help: Performs mem2reg
- deadcode:
long: deadcode
help: Performs deadcode elimination
- gvn:
long: gvn
help: Performs gvn
- iroutput:
long: iroutput
help: Prints the output IR
- output:
short: o
long: output
value_name: FILE
help: Sets the output file to use
takes_value: true
- INPUT:
help: Sets the input file to use
required: true
index: 1