-
Notifications
You must be signed in to change notification settings - Fork 2
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
Import external packages under symbol #82
Comments
wolframite.impl.wolfram-syms.write-ns/write-ns! could be perhaps hacked for this purpose but it may be cleaner with a dedicated fn. A question is whether users would want one ns file per package or a single one. Given namespacing needs, the former may be preferable? Perhaps there could be a variant of |
A dedicated function would probably be best and I think 1 per package would be the cleanest, though Wolfram is somewhat weird about namespaces. A variant of load-package! would be great; manually writing lots of namespaces would, of course, be a pain. |
Currently, importing an external Wolfram package works but the new symbols are not, by nature, accessible from wolframite.wolfram (and so have to be executed using the deferred forms).
We could provide a library method for adding external packages seamlessly.
The two main options would be to either
The text was updated successfully, but these errors were encountered: