diff options
author | riton <riton@riton.home> | 2025-07-14 21:45:47 +0300 |
---|---|---|
committer | riton <riton@riton.home> | 2025-07-14 21:45:47 +0300 |
commit | 1c90d9ae3b84f62168337f3c8b1c3854f6198330 (patch) | |
tree | 7dcc1dc41c2cfce5548876d53d8e83835b56b624 /src/package.lisp | |
parent | 44efb492349025a195a3b402ec580623ad61723f (diff) |
More refactoring of tests and packages
Squashed commit of the following:
commit c4659d8be4d664ba7fd4b59d613536f2368cff0e
Author: riton <riton@riton.home>
Date: Mon Jul 14 21:44:48 2025 +0300
fix package name typo
commit ec802339b838d059f4bc9e4da7cc370ab4d91a46
Author: riton <riton@riton.home>
Date: Mon Jul 14 21:43:42 2025 +0300
seperate deftest from test instances
commit 92d20e0b8405a4a51f01ff65f8bd81f4d25c1e21
Author: riton <riton@riton.home>
Date: Mon Jul 14 21:29:47 2025 +0300
make a test system definition
commit 125e5fe1e8c07230f32e762273c5c0dd259209e6
Author: riton <riton@riton.home>
Date: Mon Jul 14 00:39:09 2025 +0300
compiler macro of as-token
commit 0e39c32097783aa39e3fed479bb85b412065f597
Author: riton <riton@riton.home>
Date: Mon Jul 14 00:21:46 2025 +0300
define new packages
Diffstat (limited to 'src/package.lisp')
-rw-r--r-- | src/package.lisp | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/src/package.lisp b/src/package.lisp index aa399d9..6f05abe 100644 --- a/src/package.lisp +++ b/src/package.lisp @@ -1,2 +1,30 @@ -(defpackage :monkey - (:use :common-lisp)) +(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)) |