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

fix issue #22 cmd line arg to set compiler and get help; fix issue #16 #24

Merged
merged 3 commits into from
Jul 14, 2018

Conversation

timotheecour
Copy link
Contributor

@timotheecour timotheecour commented Jul 14, 2018

./inim -h
Usage:
  main [optional-params]
inim interpreter
  Options(opt-arg sep :|=|spc):
  -h, --help                      write this help to stdout
  -n=, --nim=      string  "nim"  path to nim compiler
  -s=, --srcFile=  string  ""     nim script to run
  --showHeader     bool    true   show program info startup

--showHeader:false is useful to use inim as a cmd line tool:

echo 'import os; echo os.findExe("dmd")' | ./inim --showHeader:false
/Users/timothee/homebrew//bin/../Cellar/dmd/HEAD-81082d5/bin/dmd

--nim is useful to allow using a custom nim binary, eg nim_temp produced by ./koch temp

@timotheecour timotheecour changed the title fix issue #22 cmd line arg to set compiler and get help fix issue #22 cmd line arg to set compiler and get help; fix issue #16 Jul 14, 2018
@AndreiRegiani
Copy link
Member

@timotheecour Really nice contributions! Will be released as v0.3.0
Thanks for reporting the other issues as well 👍

@AndreiRegiani AndreiRegiani merged commit b0bdebd into inim-repl:master Jul 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants