Rename hsx/hsx to hsx/dsl

This commit is contained in:
paku 2024-10-03 11:00:19 +09:00
parent bc2bc378c7
commit 7f276120aa
5 changed files with 10 additions and 10 deletions

View file

@ -4,5 +4,5 @@
:depends-on ("rove" :depends-on ("rove"
"hsx-test/utils" "hsx-test/utils"
"hsx-test/element" "hsx-test/element"
"hsx-test/hsx") "hsx-test/dsl")
:perform (test-op (o c) (symbol-call :rove :run c :style :dot))) :perform (test-op (o c) (symbol-call :rove :run c :style :dot)))

View file

@ -1,6 +1,6 @@
(uiop:define-package #:hsx/builtin (uiop:define-package #:hsx/builtin
(:use #:cl) (:use #:cl)
(:import-from #:hsx/hsx (:import-from #:hsx/dsl
#:deftag)) #:deftag))
(in-package #:hsx/builtin) (in-package #:hsx/builtin)

View file

@ -1,4 +1,4 @@
(defpackage #:hsx/hsx (defpackage #:hsx/dsl
(:use #:cl) (:use #:cl)
(:import-from #:alexandria (:import-from #:alexandria
#:make-keyword #:make-keyword
@ -8,7 +8,7 @@
(:export #:hsx (:export #:hsx
#:deftag #:deftag
#:defcomp)) #:defcomp))
(in-package #:hsx/hsx) (in-package #:hsx/dsl)
;;;; hsx macro ;;;; hsx macro

View file

@ -2,7 +2,7 @@
(:nicknames #:hsx/main) (:nicknames #:hsx/main)
(:use #:cl (:use #:cl
#:hsx/element #:hsx/element
#:hsx/hsx) #:hsx/dsl)
(:import-from #:hsx/builtin) (:import-from #:hsx/builtin)
(:export #:hsx (:export #:hsx
#:defcomp #:defcomp

View file

@ -1,16 +1,16 @@
(defpackage #:hsx-test/hsx (defpackage #:hsx-test/dsl
(:use #:cl (:use #:cl
#:rove #:rove
#:hsx/hsx #:hsx/dsl
#:hsx/builtin) #:hsx/builtin)
(:import-from #:hsx/element (:import-from #:hsx/element
#:element-props #:element-props
#:element-children)) #:element-children))
(in-package #:hsx-test/hsx) (in-package #:hsx-test/dsl)
(deftest hsx-test (deftest dsl-test
(testing "find-symbols" (testing "find-symbols"
(ok (expands (ok (expands
'(hsx (div '(:div "div") '(hsx (div '(:div "div")
div div
(div (div