Skip to content

Implement modules system #13

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

Open
F1uctus opened this issue Apr 21, 2020 · 1 comment
Open

Implement modules system #13

F1uctus opened this issue Apr 21, 2020 · 1 comment
Labels
area: parser Related to Abstract Syntax Tree parsing pipeline enhancement New feature or request

Comments

@F1uctus
Copy link
Collaborator

F1uctus commented Apr 21, 2020

Modules should be organized by nesting directories.

Definitions from one module should have straight accessibility from other module's parts.
e.g: examine the hierarchy:

app1
- frontend
  - button.ax
  - list-view.ax
- backend
  - converter.ax
  - parser.ax

Here, parts of module frontend should have access to each other without imports.
Same goes for backend.

@F1uctus F1uctus added this to the Version 0.5.0.0 milestone Apr 21, 2020
@F1uctus F1uctus added the enhancement New feature or request label Apr 21, 2020
F1uctus added a commit that referenced this issue May 20, 2020
WARNING: THIS COMMIT IS IN A BROKEN IMPLEMENTATION STAGE.
- ✨ Introduce `Module` class
- ✨ Add `Import` statement definition
- ✨ Add `stdlib` path parameter to CLI
- 🔥 Remove colon from scope definition syntax
@F1uctus
Copy link
Collaborator Author

F1uctus commented Sep 17, 2020

Modules & Projects system is partly implemented now. Now I'm moving to the import statements implementation.

@F1uctus F1uctus added architecture Architectural improvement rather than a new feature or syntax area: parser Related to Abstract Syntax Tree parsing pipeline and removed architecture Architectural improvement rather than a new feature or syntax labels Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: parser Related to Abstract Syntax Tree parsing pipeline enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant