www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Mihaela Chirea - SAOC 2020 Milestone 3 Update 1 - Improving DMD as a

Hello!

Here is an update of the progress made during the first week of 
Milestone 3 of #SAOC:
- Studied the way the files are currently managed by dmd: as soon 
as the AST is built, the read contents are discarded
- Started implementing a FileManager that keeps all the data read 
from the files, as suggested here [1]

Next steps:
- Finish integrating the FileManager into the compiler
- Check the start locations of all nodes produced by the parser, 
as I noticed some omit a part of the context found in the 
original string [2]

The tasks I planned for this project can be found here [3]

[1] 
https://forum.dlang.org/post/zyskwslyqjyylcrlmqei forum.dlang.org
[2] 
https://forum.dlang.org/post/oqbvebbgpyeyxadgisfb forum.dlang.org
[3] 
https://forum.dlang.org/post/kfcxcjauafpcrmfuajam forum.dlang.org
Dec 01 2020