-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Allow .nbt files to be loaded in REPL environment #573
Comments
Did you see this part of the documentation? If not, where did you look? What did you search for? https://numbat.dev/doc/cli-customization.html#custom-functions-constants-units |
I don't want to have the file be in some modules folder. I want to be able to load any file anywhere on my computer. Like loading files in prolog repl or similar. |
I could see utility in a command that loads the contents of a file not necessarily in a modules folder. It would make it easier to use the cli as a REPL while developing a script, without cluttering the namespace with each new project or having to update configurations or environment variables for each. |
Okay. So basically the counterpart to the |
I started working on this feature but was not sure how to call the new command. Maybe |
I like |
It's very handy for testing and development to be able to load functions specified in a file into an interactive session.
This might be possible using modules (?), but the documentation around modules is very lacking and it's very unclear how you would load a file in the REPL environment.
The text was updated successfully, but these errors were encountered: