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 way to name files as a part of a module #85

Open
Temperz87 opened this issue Jan 28, 2025 · 1 comment
Open

Add way to name files as a part of a module #85

Temperz87 opened this issue Jan 28, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@Temperz87
Copy link
Collaborator

Say someone creates a file named "deduce-linked-list-lab.pf". There is now no way to import that file, as the parser sees the dash in the name and interprets it as something else. It'd be nice if instead we could say something like "Module LinkedListLab" at the top of the file and then say "import LinkedListLab" and have it work out.

I also just realized while typing this that some people call these namespaces, but who am I to judge.

@Temperz87 Temperz87 added the enhancement New feature or request label Jan 28, 2025
@mateidragony
Copy link
Collaborator

Another solution could be to change the parser to allow dashes or maybe denote "special" file names with quotes or angle brackets or something

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

2 participants