Mihaela Chirea - Improving DMD as a Library - SAOC 2020 Project Updates
Mihaela Chirea
chireamihaela99 at gmail.com
Thu Oct 8 18:36:59 UTC 2020
Hello!
From now on I will use this thread to post updates on this
project, so that they will be easier to follow.
The progress made so far:
Milestones: [1]
Milestone 1 Week 1: [2]
Milestone 2 Week 2: [3]
#SAOC2020 Milestone 1 Week 3
This week I planned to add the buffer offset to the token
location.
What I have done:
- Added the extra field to the location under a version so that
the usual performance wouldn't be hurt and this information will
only be available when requested [4]
- Wrote some tests for this change but more would need to be added
- Changed the newScope visitor into a switch [5]
Next steps:
- Add the missing tests for the buffer offset [6]
- Add the token size
- Bring all DMD as a library additions hidden behind a version
under the same one
- Add the start location to the nodes that lack this information
[1]:
https://forum.dlang.org/post/ztbjfjebxtysmugfzkmz@forum.dlang.org
[2]:
https://forum.dlang.org/post/joxpbiaaibogjartmjja@forum.dlang.org
[3]:
https://forum.dlang.org/post/bisnyodkishmwxewmcsj@forum.dlang.org
[4]: https://github.com/dlang/dmd/pull/11823
[5]: https://github.com/dlang/dmd/pull/11789
[6]: https://github.com/dlang/dmd/pull/11823#discussion_r500865898
More information about the Digitalmars-d
mailing list