Commit c9b10f5d1c1cec92f4be8edf46ab56e5b4538863

Thomas de Grivel 2018-07-29T16:21:13

split package, add asd

diff --git a/package.lisp b/package.lisp
new file mode 100644
index 0000000..f198be9
--- /dev/null
+++ b/package.lisp
@@ -0,0 +1,12 @@
+
+(in-package :common-lisp-user)
+
+(defpackage :positional
+  (:use :cl)
+  (:export
+   #:*integer-base*
+   #:integer-base
+   #:base-parse
+   #:base-positional
+   #:parse
+   #:positional))
diff --git a/positional.asd b/positional.asd
new file mode 100644
index 0000000..de696ef
--- /dev/null
+++ b/positional.asd
@@ -0,0 +1,31 @@
+;;
+;;  positional - positional numbering system
+;;
+;;  Copyright 2018 Thomas de Grivel <thoxdg@gmail.com> (+33.614550127)
+;;
+;;  Permission to use, copy, modify, and distribute this software for any
+;;  purpose with or without fee is hereby granted, provided that the above
+;;  copyright notice and this permission notice appear in all copies.
+;;
+;;  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+;;  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+;;  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+;;  ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+;;  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+;;  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+;;  OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+;;
+
+(defpackage :positional.system
+  (:use :cl :asdf))
+
+(in-package :positional.system)
+
+(defsystem :positional
+  :name "positional"
+  :author "Thomas de Grivel <thoxdg@gmail.com>"
+  :version "0.1"
+  :description "positional numbering system"
+  :components
+  ((:file "package")
+   (:file "positional" :depends-on ("package"))))
diff --git a/positional.lisp b/positional.lisp
index e201404..46cd6d4 100644
--- a/positional.lisp
+++ b/positional.lisp
@@ -1,16 +1,4 @@
 
-(in-package :cl)
-
-(defpackage :positional
-  (:use :cl)
-  (:export
-   #:*integer-base*
-   #:integer-base
-   #:base-parse
-   #:base-positional
-   #:parse
-   #:positional))
-
 (in-package :positional)
 
 (defgeneric base-parse (base input))