Few things can be done here for a better end-user experience:
Constant propagation
Evaluation of simple arithmetic and boolean expressions
Eliminating branches of fixed conditions (always #t or always #f)
Remove (void) statements
One more important thing is putting the result of different updates together. As of now we next print all of them sequentially but it is slightly non-trivial than that because for say set-updates you might want to create some temporaries before the update in some cases.
All the above should be easy to handle and are not priority.
Few things can be done here for a better end-user experience:
#t
or always#f
)(void)
statementsOne more important thing is putting the result of different updates together. As of now we next print all of them sequentially but it is slightly non-trivial than that because for say set-updates you might want to create some temporaries before the update in some cases.
All the above should be easy to handle and are not priority.