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

⚡ Feature: Aliases support #43

Open
wants to merge 23 commits into
base: vardec_varass_dependency
Choose a base branch
from

Conversation

deavmi
Copy link
Contributor

@deavmi deavmi commented May 8, 2024

Please see this.

deavmi added 9 commits May 8, 2024 09:30
- Added new type
- Added `parseAliasDeclaration()`
- Both `parse()` and `parseStatement(...)` now support alias declarations
- Added `ALIAS` as a new member to the `SymbolType` enum
- Added forward-mapping from `"alias"` to `ALIAS`
-
- Added new `simple_aliases.t`
- Added `collectWithin(...)` and `collectUpwards(...)`
- Added test
- Fixed `simple_aliases.t`
- Made replacement return `false` for now (ass it is not implemented)
- Addec `MCloneable` support
- Re-worked the alias replacement code
@deavmi deavmi added documentation Improvements or additions to documentation enhancement New feature or request labels May 8, 2024
@deavmi deavmi self-assigned this May 8, 2024
deavmi added 14 commits May 8, 2024 13:53
- Cleaned up
- Added test case for `"source/tlang/testing/simple_aliases.t"`
- Do the alias expansion first, then everything else
- Implemented replacement
- Implemented alias replacement such that it now looks for the nearest alias declaration
- Cleaned up
- Updated `simple_aliases.t`
- Added new interface
- Added
- Added logging
- Print the expression
- Updated `simple_aliases.t`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant