[SAOC-2025] Queries about the "separate-semantic-routines-from-ast-nodes" project for the upcoming cycle

Saeitoshi_10 nayakomswaroop at gmail.com
Tue Aug 5 11:16:19 UTC 2025


Hi everyone, So I am interested in this project and I think this 
will go miles in realising the "DMD as a package" vision. So I 
was going through the [Project 
tracker](https://github.com/orgs/dlang/projects/41) and for some 
of the files it is mentioned "in progress" and for those files no 
semantic imports exist. but many functions exist in those files 
which are just called in semantic files and have a purely 
semantic focus as well.for example in 
[mtype.d](https://github.com/dlang/dmd/blob/master/compiler/src/dmd/mtype.d) [toBooleanVector()](https://github.com/dlang/dmd/blob/fa16013c9966b537b28b994fe3a30c9a53db19ca/compiler/src/dmd/mtype.d#L4281) exists which is just called twice by some functions in [expressionsem.d](https://github.com/dlang/dmd/blob/master/compiler/src/dmd/expressionsem.d). And if we remove this function we are also removing the only dependency for two other functions similarly.So I was wondering should i follow only the steps given in the project guide or should i also try to eliminate the functions like these also.


More information about the Digitalmars-d mailing list