project-ideas
project-ideas copied to clipboard
Log system for debugging dmd
Description
Better log audit system for dmd that generates a log audit file for debugging purposes.
What are rough milestones of this project?
- Create the logging system for when debugging dmd.
- Replace printf statements with the log statements that is generated only for debug mode, or passing a compiler option.
- Create log statements for areas that deemed to be of interest.
If times allows:
- Export the ast tree to dia. (http://dia-installer.de/)
Expected outcome
Have the log audit system implemented
How does this project help the D community?
There is currently comment out printf statements all over the code, among other methods being used to display information regarding the compiler. Having it to generate a log file/s would grant potentially millage in terms of fixing bugs in the dmd source code. While make it easier for newcomers to figure out how the compiler works.
Recommended skills
- Basic D language skills
- Basic understanding of dmd intervals
- Basic understanding of git.
Rating
Easy-Medium
Project type
Low-hanging fruit, Fun
Points of contact/Potential mentors
@12345swordy @RazvanN7
A Small Enchantment that makes this much easier. https://issues.dlang.org/show_bug.cgi?id=21999