Compiler output for debugging and inspection
- Dominant language
- Standard ML
- Stars
- 44
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
The compiler should support debug output, printing expressions so we can see the effects of optimisations and plan improvements. For PureLang we have `compiler/parsing/sexp` - at least ThunkLang should implement the same, and this can be plumbed through the compiler with some appropriate flag.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading compiler/parsing/sexp and the existing ThunkLang compiler entry points to understand how PureLang handles debug output. Determine the appropriate compiler flag and the scope of expression printing, then define how output should expose optimisation effects and verify it with the relevant compiler checks.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100