Skip to content

Commit

Permalink
Add unicode diagram printer for parsed-program instances
Browse files Browse the repository at this point in the history
  • Loading branch information
macrologist authored and stylewarning committed Apr 2, 2024
1 parent 967c9ff commit 12839b6
Show file tree
Hide file tree
Showing 3 changed files with 389 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cl-quil.asd
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,8 @@
(funcall compile)))
:pathname "src/tools/"
:serial t
:components ((:file "package")
:components ((:file "unicode-diagram")
(:file "package")
(:file "hasse-schedule")
(:file "circuit-diagram")))

Expand Down
6 changes: 5 additions & 1 deletion src/tools/package.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
(defpackage #:cl-quil.tools
(:nicknames #:tools)
(:use #:cl)
(:import-from #:cl-quil.tools.unicode-diagram #:print-program-diagram)
#+(or sbcl ecl ccl)
(:local-nicknames (:a :alexandria))

Expand All @@ -22,4 +23,7 @@
;; circuit-diagram.lisp
(:export
#:plot-circuit)
)

;; unicode-digram.lisp
(:export
#:print-program-diagram))
Loading

0 comments on commit 12839b6

Please sign in to comment.