manuel-serrano / bigloo

a practical Scheme compiler
http://www-sop.inria.fr/indes/fp/Bigloo
Other
135 stars 19 forks source link

Add -- arg to bigloo compiler to end bigloo arg parsing for remaining args #64

Closed donaldsonjw closed 3 years ago

donaldsonjw commented 3 years ago

This is useful when you are using the interpreter and do not want bigloo interpreting args intended for a script. All args after -- are ignored by bigloo. For example, the following command will pass --help to the script instead of being recognized and handled by bigloo.

bigloo -i script.scm -- --help

manuel-serrano commented 3 years ago

Thanks for the pull request. For sure it is a good idea! I'm only surprised that we have not thought about it earlier :-)