frontend icon indicating copy to clipboard operation
frontend copied to clipboard

CSE machine in Scheme: Hide make_number calls

Open martin-henz opened this issue 1 year ago • 0 comments

Consider the program: (+ 3i 4) Currently we get: Screenshot 2024-04-22 at 9 09 01 PM Screenshot 2024-04-22 at 9 09 26 PM Screenshot 2024-04-22 at 9 09 39 PM Screenshot 2024-04-22 at 9 09 51 PM Screenshot 2024-04-22 at 9 10 03 PM I suggest that we change the step sequence by "suppressing" the application of make_number. So (make_number 3i) will just be rendered as 3i in Control, and the next step will have 3i in Stash.

The notion of "suppressing" steps might come in handy elsewhere, too, so it may be a good idea to think about how to do this nicely.

martin-henz avatar Apr 22 '24 13:04 martin-henz