summaryrefslogtreecommitdiff
path: root/src/package.lisp
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-07 23:58:29 -0400
committerbd <bdunahu@operationnull.com>2025-04-07 23:58:29 -0400
commit0fe2cc70abacc7c9e7aa2602836c8226bb1a1dc3 (patch)
tree6d0b35edad95195221e55c976d944d19c46e6a58 /src/package.lisp
parent1ba3929b633b35a2131960b5344359478594626a (diff)
Add label processing, mnemonic and label lookup maps
Diffstat (limited to 'src/package.lisp')
-rw-r--r--src/package.lisp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/package.lisp b/src/package.lisp
index 670ed02..d999783 100644
--- a/src/package.lisp
+++ b/src/package.lisp
@@ -4,7 +4,10 @@
(defpackage #:util
(:use #:cl)
- (:export #:asm-extension?))
+ (:export #:asm-extension?
+ #:format-as-binary
+ #:label-loc
+ #:mnemonic-loc))
(defpackage #:lex
(:use #:cl)
@@ -12,3 +15,9 @@
;; exported for testing only
#:read-token
#:invalid-immediate-or-keyword))
+
+(defpackage #:parse
+ (:use #:cl)
+ (:export #:tokens->ast
+ ;; exported for testing only
+ #:extract-label))