google / google/codeworld

Co-inspect: link from code to the running program

Open
#712 9 comments 0 reactions 0 assignees View on GitHub
discussion
Dominant language
Haskell
Stars
1.3k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

The Inspect dialog, implemented by @three, already links shapes in a running CodeWorld program to the corresponding code (via the inspect dialog). We also want the opposite. When a program is paused or in "inspect mode", we could collect the set of all source locations that map to objects in the picture, and offer a UI to get from code to the right place in the picture tree, as well.

Idea comes from an old article by Bret Victor (http://worrydream.com/#!/LearnableProgramming)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.