Champii/Rock

Remove deprecated binary flags

Champii opened this issue · 0 comments

We still have the --tokens, --state and --repl flags that should be removed from the binary.

We could then add a flag to show the hir before and after inference. The new flags would be something like:

FLAGS:
    -a, --ast            Show ast
        --help           Prints help information
    -h, --hir            Show hir
    -i, --ir             Show the generated IR
    -N, --no-optimize    Disable LLVM optimization passes
        --nostd          Does not include stdlib
    -t, --typed-hir      Show the hir after inference   // <-
    -V, --version        Prints version information
    -v, --verbose        Verbose level