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

Directory including #16

Open
HuseyinSimsek7904 opened this issue Nov 25, 2023 · 0 comments
Open

Directory including #16

HuseyinSimsek7904 opened this issue Nov 25, 2023 · 0 comments
Assignees
Labels
compiler Anything about the compiler enhancement New feature or request quality-of-life Anything that focuses on making life easier

Comments

@HuseyinSimsek7904
Copy link
Member

HuseyinSimsek7904 commented Nov 25, 2023

The compiler should allow directory including.

There are basically two approaches to this: recursion and tree traversal.

Solving this issue with recursion requires the promise keyword since we will need two different procedures calling each other causing cycle dependencies.

Using tree traversal algorithm on the other hand does not require a completely new feature to the language. However, this still requires the implementation of a stack for include files which may cause a large change in the system.

Because of these, it may not be worth it to work on this issue right now.

@HuseyinSimsek7904 HuseyinSimsek7904 added the enhancement New feature or request label Nov 25, 2023
@HuseyinSimsek7904 HuseyinSimsek7904 self-assigned this Nov 25, 2023
@HuseyinSimsek7904 HuseyinSimsek7904 added the compiler Anything about the compiler label Dec 14, 2023
@HuseyinSimsek7904 HuseyinSimsek7904 added quality-of-life Anything that focuses on making life easier and removed high-priority labels Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Anything about the compiler enhancement New feature or request quality-of-life Anything that focuses on making life easier
Projects
None yet
Development

No branches or pull requests

1 participant