diff --git a/hsx-test.asd b/hsx-test.asd index 0b30e8f..2f8db8a 100644 --- a/hsx-test.asd +++ b/hsx-test.asd @@ -4,5 +4,5 @@ :depends-on ("rove" "hsx-test/utils" "hsx-test/element" - "hsx-test/hsx") + "hsx-test/dsl") :perform (test-op (o c) (symbol-call :rove :run c :style :dot))) diff --git a/src/builtin.lisp b/src/builtin.lisp index c52eb16..38f20fe 100644 --- a/src/builtin.lisp +++ b/src/builtin.lisp @@ -1,6 +1,6 @@ (uiop:define-package #:hsx/builtin (:use #:cl) - (:import-from #:hsx/hsx + (:import-from #:hsx/dsl #:deftag)) (in-package #:hsx/builtin) diff --git a/src/hsx.lisp b/src/dsl.lisp similarity index 98% rename from src/hsx.lisp rename to src/dsl.lisp index 053b1ed..680c85a 100644 --- a/src/hsx.lisp +++ b/src/dsl.lisp @@ -1,4 +1,4 @@ -(defpackage #:hsx/hsx +(defpackage #:hsx/dsl (:use #:cl) (:import-from #:alexandria #:make-keyword @@ -8,7 +8,7 @@ (:export #:hsx #:deftag #:defcomp)) -(in-package #:hsx/hsx) +(in-package #:hsx/dsl) ;;;; hsx macro diff --git a/src/main.lisp b/src/main.lisp index 2d6ec0f..80f1fab 100644 --- a/src/main.lisp +++ b/src/main.lisp @@ -2,7 +2,7 @@ (:nicknames #:hsx/main) (:use #:cl #:hsx/element - #:hsx/hsx) + #:hsx/dsl) (:import-from #:hsx/builtin) (:export #:hsx #:defcomp diff --git a/tests/hsx.lisp b/tests/dsl.lisp similarity index 94% rename from tests/hsx.lisp rename to tests/dsl.lisp index b96b52e..d8bce5d 100644 --- a/tests/hsx.lisp +++ b/tests/dsl.lisp @@ -1,16 +1,16 @@ -(defpackage #:hsx-test/hsx +(defpackage #:hsx-test/dsl (:use #:cl #:rove - #:hsx/hsx + #:hsx/dsl #:hsx/builtin) (:import-from #:hsx/element #:element-props #:element-children)) -(in-package #:hsx-test/hsx) +(in-package #:hsx-test/dsl) -(deftest hsx-test +(deftest dsl-test (testing "find-symbols" - (ok (expands + (ok (expands '(hsx (div '(:div "div") div (div