-
Notifications
You must be signed in to change notification settings - Fork 11
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
define a way to add interpreters #9
Comments
Can you give an example of what you want? 1st) Will the separate interpreter be already loaded or downloaded? 2nd) Maybe we can change the interpreter just by changing the shebang: #! /usr/local/bin/scale or even better => #! /usr/bin/env pharo scale => #! /usr/bin/env pharo scale --interpreter InterpreterClass |
Dynamic magical variables that relies in code that may not be in the image. In the end is the import we were talking at the lab: import file: 'myModule.st' into: #myMagicalVariable. Or even also import repository: 'github://whatever/project/bashFacade.st' into: #bash. The only thing we need to add is a nice way to define this kind-of-functions and persist this code in a more pharo way, so for developing this modules we can use pharo it self. |
Beware, there are limitations on how many words after the shebang will be taken into account (depending on OS and shell versions, of course, because POSIX is a well-defined cough standard) |
Now if I need a new interpreter but the scale basic one, i need to make a new image with the installation of the interpretation.
I should define a way to hook up interpreters from fuel files maybe, and define dynamically what's possible.
The text was updated successfully, but these errors were encountered: