www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Mihaela Chirea - SAOC 2020 Milestone 1 Week 2 - Improving DMD as a

Hello!

Here is an update of the progress made during the second week of 
milestone 1 as part of #SAOC2020.

The main goal set last week was to start working on adding the 
missing location information to the AST nodes. Here you can find 
last week's update[1].

What I have done this far:
- Studied the nodes searching for the location information 
currently present
- Built a list[2] to more easily keep track of the future changes 
regarding this

Next steps:
- Add the offset from the start of the file to all locations
- Write tests for this change

The initial list of milestones can be found here[3], but will 
soon be updated to reflect the suggestions received[4].

[1]: 
https://forum.dlang.org/post/joxpbiaaibogjartmjja forum.dlang.org
[2]: 
https://drive.google.com/file/d/1lb-eP9Pai713tggud6iuzA1cIetbK4zc/view?usp=sharing
[3]: 
https://forum.dlang.org/post/ztbjfjebxtysmugfzkmz forum.dlang.org
[4]: https://github.com/dlang/dmd/pull/11788
Sep 30 2020