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

-t/--target option #106

Merged
merged 1 commit into from Mar 8, 2017
Merged

-t/--target option #106

merged 1 commit into from Mar 8, 2017

Conversation

dahlia
Copy link
Member

@dahlia dahlia commented Mar 7, 2017

Although #99 made Nirum's internals possible to extend targets, it didn't expose its extensiblity to the user interface (CLI).

This patch added -t/--target option to specify the target language of the object. Also it prints the list of all available targets.

@dahlia dahlia added the typ:enhance Type: Enhancement/new feature label Mar 7, 2017
@dahlia dahlia self-assigned this Mar 7, 2017
@@ -61,6 +61,7 @@ For more infomration, use `--help` option:

Common flags:
-o --output-dir=DIR The directory to place object files
-t --target=TARGET The target language. Available targets: python
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(시무룩)

@dahlia dahlia merged commit be1dbe3 into nirum-lang:master Mar 8, 2017
@dahlia dahlia added cat:packaging Category: Nirum schema packaging (not compiler packaging) cmp:frontend Component: Compiler frontend (e.g., CLI, parser, AST) target labels Aug 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:packaging Category: Nirum schema packaging (not compiler packaging) cmp:frontend Component: Compiler frontend (e.g., CLI, parser, AST) target typ:enhance Type: Enhancement/new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants