decaf icon indicating copy to clipboard operation
decaf copied to clipboard

Add a Good CLI

Open hawkw opened this issue 9 years ago • 1 comments

My current command-line interface (Compiler.scala) works, but is pretty basic. If we want to add compiler features other than parsing & compiling one Decaf source code file, such as linking, strictness, choosing the name of the output file, or a REPL, we're gonna need a better command-line argument parser.

@ArcticLight and I are both really big fans of Docopt, the Pythonic Command-Line Parser, so I figure we'll use the Scala port of Docopt.

hawkw avatar Oct 10 '14 17:10 hawkw