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

add a way to import other .nat files in the REPL and other files #15

Open
cuddlefishie opened this issue Jan 17, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@cuddlefishie
Copy link
Owner

This would allow more re-use of definitions.

Ideally for disambiguation also a namespacing mechansim should be present.

Maybe for "import everything" and "only import the name of the namespace" different statement types could be used?

  • import OtherFile for loading OtherFile.nat from a set of known locations and then making all definitions usable
  • use OtherFile for loading OtherFile.nat from a set of known locations and then allowing the use of definitions using OtherFile.some_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant