summaryrefslogtreecommitdiff
path: root/src/package.lisp
blob: 6f05abe2670698900816aab5b315a69e356a1772 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
(defpackage #:utilities
  (:use #:common-lisp)
  (:export #:eval-always
           #:make-string-view
           #:read-file-contents))

(defpackage #:monkey
  (:use #:common-lisp #:utilities))

(defpackage #:token
  (:use #:common-lisp #:utilities)
  (:shadow #:type)
  (:export #:token
           #:type-is
           #:token=
           #:make
           #:as-token
           #:lookup-identifier
           ;; the following depend on macro arguments
           #:token-type
           ;;#:string->token
           ;;#:token->string
           ))

(defpackage #:lexer
  (:use #:common-lisp #:utilities)
  (:export #:make #:lex))

(defpackage #:monkey/test
  (:use #:common-lisp #:utilities))