Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Good CLI #21

Open
hawkw opened this issue Oct 10, 2014 · 1 comment
Open

Add a Good CLI #21

hawkw opened this issue Oct 10, 2014 · 1 comment
Assignees
Milestone

Comments

@hawkw
Copy link
Owner

hawkw commented Oct 10, 2014

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 hawkw added this to the Icebox milestone Oct 10, 2014
@hawkw
Copy link
Owner Author

hawkw commented Dec 21, 2014

bdea857 makes a pass at this. I used Scopt rather than Docopt (mostly 'cause type-safety).

@hawkw hawkw self-assigned this Dec 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant