effekt-lang / effekt-lang/effekt

Flags / VSCode for outputting phase results/inputs

Open
#573 1 comment 1 reaction 0 assignees View on GitHub
feature quality-of-life
Dominant language
Scala
Stars
469
Forks
41
Avg merge
1d 16h
Merged PRs (30d)
23

Description

In continuation of #303, I also often find myself wanting to know the intermediate results between the phases (core pre/post Optimizer, PolymorphismBoxing etc).
It would be really nice for debugging if this was possible without needing to change the compiler.

Example usage:
```
$ effekt --show-IR-after Optimizer ./test.effekt
... outputs IR
$ effekt --show-IR-before Optimizer ./test.effekt
... outputs IR
```

Maybe we can somehow achieve this with the existing phase abstraction?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.