[SAOC 2024] "Refactoring the Include Method: Moving to dsymbolsem" Weekly update #4
Dennis
dennis.onyeka.4 at gmail.com
Sun Oct 13 22:30:19 UTC 2024
## Tasks Accomplished
The include method is another sem function that depends on
dsymbolsem which was residing in an AST class.
During this week’s task I moved the `include` method to
dsymbolsem, the method basically evaluates certain declarations
that should be processed based on conditions or attributes.
Include method resides in `AttribDeclaration` class and has
subclasses like `ConditionalDeclaration`, `StaticIfDeclaratio`n,
and `StaticForeachDeclaration`. Each of them were moved
respectively and transformed into a visitor.` frontend.h` and
`attrib.h `will be updated upwards reflecting the changes made.
Although, the refactoring is still ongoing with rigorous testing
and debugging.
Currently encountering some errors which I’m working on with the
guidance from my mentor
### PR&Commits =>
[https://github.com/dlang/dmd/pull/16970](https://github.com/dlang/dmd/pull/16970)
### Next Tasks
Finished up the` attrib.d` and move over to the next
module(`cond.d`).
More information about the Digitalmars-d
mailing list