From 6ddf42f6a40f7ef779a9d4dcfb7965b4a2bcdd90 Mon Sep 17 00:00:00 2001 From: paku Date: Sat, 25 May 2024 21:48:35 +0900 Subject: [PATCH] Rename piccolo to hsx --- README.md | 7 +++++-- piccolo-test.asd => hsx-test.asd | 4 ++-- piccolo.asd => hsx.asd | 6 +++--- src/element.lisp | 4 ++-- src/main.lisp | 6 +++--- tests/element.lisp | 6 +++--- 6 files changed, 18 insertions(+), 15 deletions(-) rename piccolo-test.asd => hsx-test.asd (68%) rename piccolo.asd => hsx.asd (77%) diff --git a/README.md b/README.md index 11bf815..f91f029 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,11 @@ -# Piccolo +# HSX -Piccolo, a fork of [flute](https://github.com/ailisp/flute), is a beautiful, easily composable HTML5 generation library for Common Lisp. +HSX (hypertext s-expression) is an incredibly simple HTML5 generation library for Common Lisp. + +This is a fork project of [flute](https://github.com/ailisp/flute/), created by Bo Yao. # License + Licensed under MIT License.  Copyright (c) 2024, skyizwhite. diff --git a/piccolo-test.asd b/hsx-test.asd similarity index 68% rename from piccolo-test.asd rename to hsx-test.asd index 0f7e34b..1936af1 100644 --- a/piccolo-test.asd +++ b/hsx-test.asd @@ -1,6 +1,6 @@ -(defsystem "piccolo-test" +(defsystem "hsx-test" :class :package-inferred-system :pathname "tests" :depends-on ("fiveam" - "piccolo-test/element") + "hsx-test/element") :perform (test-op (op c) (symbol-call :fiveam :run-all-tests))) diff --git a/piccolo.asd b/hsx.asd similarity index 77% rename from piccolo.asd rename to hsx.asd index f1be9da..89e4be6 100644 --- a/piccolo.asd +++ b/hsx.asd @@ -1,4 +1,4 @@ -(defsystem "piccolo" +(defsystem "hsx" :version "0.1.0" :description "A beautiful, easily composable HTML5 generation library" :author "Bo Yao, skyizwhite" @@ -6,7 +6,7 @@ :license "MIT" :long-description #.(uiop:read-file-string (uiop:subpathname *load-pathname* "README.md")) - :in-order-to ((test-op (test-op piccolo-test))) + :in-order-to ((test-op (test-op hsx-test))) :class :package-inferred-system :pathname "src" - :depends-on ("piccolo/main")) + :depends-on ("hsx/main")) diff --git a/src/element.lisp b/src/element.lisp index 22b18db..5de37e8 100644 --- a/src/element.lisp +++ b/src/element.lisp @@ -1,10 +1,10 @@ -(defpackage #:piccolo/element +(defpackage #:hsx/element (:use #:cl) (:export #:element-kind #:element-props #:create-element #:expand)) -(in-package #:piccolo/element) +(in-package #:hsx/element) (defclass element () ((kind diff --git a/src/main.lisp b/src/main.lisp index bdd1554..76a9f69 100644 --- a/src/main.lisp +++ b/src/main.lisp @@ -1,4 +1,4 @@ -(defpackage :piccolo - (:nicknames #:piccolo/main) +(defpackage :hsx + (:nicknames #:hsx/main) (:use #:cl)) -(in-package :piccolo) +(in-package :hsx) diff --git a/tests/element.lisp b/tests/element.lisp index 53f26aa..93d6322 100644 --- a/tests/element.lisp +++ b/tests/element.lisp @@ -1,8 +1,8 @@ -(defpackage :piccolo-test/element +(defpackage :hsx-test/element (:use :cl :fiveam - :piccolo/element)) -(in-package :piccolo-test/element) + :hsx/element)) +(in-package :hsx-test/element) (def-suite create-element)