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

Code clean-up #27

Merged
merged 114 commits into from
Apr 22, 2024
Merged

Code clean-up #27

merged 114 commits into from
Apr 22, 2024

Conversation

leonskij
Copy link
Collaborator

This PR cleans-up the current code so that future work will be easier. I've also taken this opportunity to change a few core things that would greatly affect the code-base as their own additions, but allow the clean-up process to be quicker.

Some of the changes include:

  • Sources are now used to create Lexers and are used in errors, as well as other places.
  • The Program has been split-up into separate Engine and Context types.
  • Intrinsics are no longer part of the module system, and are instead in their own location.
  • Modules are now namespaced, this feature is subject to change.

@Vandesm14 Vandesm14 merged commit e4d308e into main Apr 22, 2024
1 check passed
@Vandesm14 Vandesm14 deleted the clean-up branch April 22, 2024 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants