Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSE machine in Scheme: Hide make_number calls #2955

Open
martin-henz opened this issue Apr 22, 2024 · 0 comments
Open

CSE machine in Scheme: Hide make_number calls #2955

martin-henz opened this issue Apr 22, 2024 · 0 comments
Assignees
Labels
Enhancement New feature request

Comments

@martin-henz
Copy link
Member

martin-henz commented Apr 22, 2024

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 martin-henz added the Enhancement New feature request label Apr 22, 2024
@martin-henz martin-henz changed the title CSE Machine in Scheme: Hide make_number calls CSE machine in Scheme: Hide make_number calls May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature request
Projects
None yet
Development

No branches or pull requests

2 participants