Don't show memory references in pretty-printed values #350
Labels
C-Moderate Effort
Should take a moderate amount of time to address.
G-CESK machine
This issue has to do with the CESK machine (the Swarm language interpreter).
L-Pretty-printing
Pretty-printing ASTs or values into a string representation.
S-Moderate
The fix or feature would substantially improve user experience.
Z-Feature
A new feature to be added to the game.
Z-User Experience
This issue seeks to make the game more enjoyable to play.
Currently, we store sub-results as "memory cells" printed as
@1
. Ideally, players would never see them and there would always be a way to print a value so that it could be reconstructed.Consider for example simple
let
, which is printed fine:But recursive let is printed with the memory cell:
Similarly using other definitions uses memory cells:
We could keep the original definitions and their dependencies and print those so that after overwriting
f
we could still printg
:.sw
file #7The text was updated successfully, but these errors were encountered: