aboutsummaryrefslogtreecommitdiff
path: root/forth/printer.fs
diff options
context:
space:
mode:
authorChouser <chouser@n01se.net>2015-02-14 13:40:07 -0500
committerChouser <chouser@n01se.net>2015-02-21 13:22:44 -0500
commit69972a8399efe4abb8567526e90262e131f90d26 (patch)
tree5e12e86da119a9c3f4372dab9e04777a746f90d0 /forth/printer.fs
parent9da223a35a176d94fbb75cbcc1000871ff5aff0b (diff)
downloadmal-69972a8399efe4abb8567526e90262e131f90d26.tar.gz
mal-69972a8399efe4abb8567526e90262e131f90d26.zip
forth: Add step 3
Diffstat (limited to 'forth/printer.fs')
-rw-r--r--forth/printer.fs5
1 files changed, 5 insertions, 0 deletions
diff --git a/forth/printer.fs b/forth/printer.fs
index d85e38b..cc376e6 100644
--- a/forth/printer.fs
+++ b/forth/printer.fs
@@ -149,6 +149,11 @@ MalFn
drop s" #<fn>" str-append ;;
drop
+SpecialOp
+ extend pr-buf
+ drop s" #<op>" str-append ;;
+drop
+
MalSymbol
extend pr-buf
unpack-sym str-append ;;