Tracing Joy Execution

joy.utils.pretty_print

Pretty printing support.

class joy.utils.pretty_print.TracePrinter[source]

This is what does the formatting, e.g.:

Joy? 23 18 * 99 +
       . 23 18 mul 99 add
    23 . 18 mul 99 add
 23 18 . mul 99 add
   414 . 99 add
414 99 . add
   513 . 
viewer(stack, expression)[source]

Pass this method as the viewer to joy() function.