dwayne / whitespace-python

A Whitespace interpreter written in Python.
https://web.archive.org/web/20150717190859/http://compsoc.dur.ac.uk:80/whitespace/
MIT License
10 stars 0 forks source link

Add disassemble option #2

Open dwayne opened 8 years ago

dwayne commented 8 years ago

Displays the instructions in a human readable format.

$ whitespace --disassemble count.ws
# or
$ whitespace -d count.ws
push 1
label " "
dup
putn
...