yancouto / functional

functional programming game
The Unlicense
12 stars 0 forks source link

Better debugging #2

Open yancouto opened 3 years ago

yancouto commented 3 years ago

We'll definitely need some step by step interpreting, and showing this to the player.

yancouto commented 3 years ago

We show step by step of the expression being evaluated. It's pretty ugly though, just a wall of text, which makes it super confusing.

yancouto commented 3 years ago

Text is printed better, but it's still a wall of text.

yancouto commented 3 years ago

It's basically impossible on the more advanced levels. But I don't think doing step by step resolution, even if it's a good UI, will be enough.

yancouto commented 3 years ago

Debugging had fully_resolve: true, which made it really hard to debug.

Now it's easier, though still very hard in any non-small level.

yancouto commented 3 years ago

Playground screen implemented, which helps.

Step by step would still be cool.