runes.asd
neues release
This commit is contained in:
49
cxml.asd
49
cxml.asd
@ -1,6 +1,3 @@
|
|||||||
;;; XXX Die vielen verschiedenen Systeme hier sollten vielleicht
|
|
||||||
;;; Module eines grossen Systems CXML werden?
|
|
||||||
|
|
||||||
(defpackage :cxml-system
|
(defpackage :cxml-system
|
||||||
(:use :asdf :cl))
|
(:use :asdf :cl))
|
||||||
(in-package :cxml-system)
|
(in-package :cxml-system)
|
||||||
@ -14,45 +11,6 @@
|
|||||||
(let (#+sbcl (*compile-print* nil))
|
(let (#+sbcl (*compile-print* nil))
|
||||||
(call-next-method))))
|
(call-next-method))))
|
||||||
|
|
||||||
#-(or rune-is-character rune-is-integer)
|
|
||||||
(progn
|
|
||||||
(format t "~&;;; Checking for wide character support...")
|
|
||||||
(force-output)
|
|
||||||
(pushnew (dotimes (x 65536
|
|
||||||
(progn
|
|
||||||
(format t " ok, characters have at least 16 bits.~%")
|
|
||||||
:rune-is-character))
|
|
||||||
(unless (and (< x char-code-limit) (code-char x))
|
|
||||||
(format t " no, reverting to octet strings.~%")
|
|
||||||
(return :rune-is-integer)))
|
|
||||||
*features*))
|
|
||||||
|
|
||||||
#-rune-is-character
|
|
||||||
(format t "~&;;; Building cxml with (UNSIGNED-BYTE 16) RUNES~%")
|
|
||||||
|
|
||||||
#+rune-is-character
|
|
||||||
(format t "~&;;; Building cxml with CHARACTER RUNES~%")
|
|
||||||
|
|
||||||
(defsystem :cxml-runes
|
|
||||||
:default-component-class closure-source-file
|
|
||||||
:pathname (merge-pathnames
|
|
||||||
"runes/"
|
|
||||||
(make-pathname :name nil :type nil :defaults *load-truename*))
|
|
||||||
:serial t
|
|
||||||
:components
|
|
||||||
((:file "package")
|
|
||||||
(:file "definline")
|
|
||||||
(:file runes
|
|
||||||
:pathname
|
|
||||||
#-rune-is-character "runes"
|
|
||||||
#+rune-is-character "characters")
|
|
||||||
#+rune-is-integer (:file "utf8")
|
|
||||||
(:file "syntax")
|
|
||||||
(:file "encodings")
|
|
||||||
(:file "encodings-data")
|
|
||||||
(:file "xstream")
|
|
||||||
(:file "ystream")))
|
|
||||||
|
|
||||||
(asdf:defsystem :cxml-xml
|
(asdf:defsystem :cxml-xml
|
||||||
:default-component-class closure-source-file
|
:default-component-class closure-source-file
|
||||||
:pathname (merge-pathnames
|
:pathname (merge-pathnames
|
||||||
@ -72,7 +30,7 @@
|
|||||||
(:file "space-normalizer" :depends-on ("xml-parse"))
|
(:file "space-normalizer" :depends-on ("xml-parse"))
|
||||||
(:file "catalog" :depends-on ("xml-parse"))
|
(:file "catalog" :depends-on ("xml-parse"))
|
||||||
(:file "sax-proxy" :depends-on ("xml-parse")))
|
(:file "sax-proxy" :depends-on ("xml-parse")))
|
||||||
:depends-on (:cxml-runes :puri :trivial-gray-streams))
|
:depends-on (:runes :puri :trivial-gray-streams))
|
||||||
|
|
||||||
(defclass utf8dom-file (closure-source-file) ((of)))
|
(defclass utf8dom-file (closure-source-file) ((of)))
|
||||||
|
|
||||||
@ -90,11 +48,10 @@
|
|||||||
(defmethod perform ((o load-op) (c utf8dom-file))
|
(defmethod perform ((o load-op) (c utf8dom-file))
|
||||||
(load (slot-value c 'of)))
|
(load (slot-value c 'of)))
|
||||||
|
|
||||||
(defvar *utf8-runes-readtable*)
|
|
||||||
|
|
||||||
(defmethod perform ((operation compile-op) (c utf8dom-file))
|
(defmethod perform ((operation compile-op) (c utf8dom-file))
|
||||||
(let ((*features* (cons 'utf8dom-file *features*))
|
(let ((*features* (cons 'utf8dom-file *features*))
|
||||||
(*readtable* *utf8-runes-readtable*))
|
(*readtable*
|
||||||
|
(symbol-value (find-symbol "*UTF8-RUNES-READTABLE*" :runes-system))))
|
||||||
(call-next-method)))
|
(call-next-method)))
|
||||||
|
|
||||||
(asdf:defsystem :cxml-dom
|
(asdf:defsystem :cxml-dom
|
||||||
|
|||||||
@ -51,14 +51,19 @@
|
|||||||
<h3>See also</h3>
|
<h3>See also</h3>
|
||||||
<p>
|
<p>
|
||||||
Relax NG validation is available as a separate
|
Relax NG validation is available as a separate
|
||||||
project: <a href="">cxml-rng</a>.
|
project: <a href="http://www.lichteblau.com/cxml-rng/">cxml-rng</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<a name="changes"/>
|
<a name="changes"/>
|
||||||
<h3>Recent Changes</h3>
|
<h3>Recent Changes</h3>
|
||||||
<p class="nomargin"><tt>rel-2007-xx-yy</tt></p>
|
<p class="nomargin"><tt>rel-2007-05-26</tt></p>
|
||||||
<ul class="nomargin">
|
<ul class="nomargin">
|
||||||
|
<li><b>cxml.asd has been split up into <tt>cxml.asd</tt> for the
|
||||||
|
XML parser and <tt>runes.asd</tt> for the runes package, in
|
||||||
|
preparation of a complete split of the two systems. Future CXML
|
||||||
|
releases will use separate tarballs for <tt>runes</tt>
|
||||||
|
and <tt>cxml</tt>.</b></li>
|
||||||
<li>xml:base support (SAX and Klacks only, not yet used in DOM).
|
<li>xml:base support (SAX and Klacks only, not yet used in DOM).
|
||||||
See documentation <a href="sax.html#saxparser">here</a> and <a
|
See documentation <a href="sax.html#saxparser">here</a> and <a
|
||||||
href="klacks.html#locator">here</a>.</li>
|
href="klacks.html#locator">here</a>.</li>
|
||||||
@ -78,6 +83,7 @@
|
|||||||
klacks:expecting-element. Fixed serialize-event to generate
|
klacks:expecting-element. Fixed serialize-event to generate
|
||||||
start-prefix-mapping and end-prefix-mapping events. New function
|
start-prefix-mapping and end-prefix-mapping events. New function
|
||||||
map-current-namespace-declarations.</li>
|
map-current-namespace-declarations.</li>
|
||||||
|
<li>fixed build with common-lisp-controller</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p class="nomargin"><tt>rel-2007-02-18</tt></p>
|
<p class="nomargin"><tt>rel-2007-02-18</tt></p>
|
||||||
<ul class="nomargin">
|
<ul class="nomargin">
|
||||||
|
|||||||
@ -47,7 +47,8 @@
|
|||||||
<b>Compiling and loading CXML.</b>
|
<b>Compiling and loading CXML.</b>
|
||||||
Register the .asd file, e.g. by symlinking it:
|
Register the .asd file, e.g. by symlinking it:
|
||||||
</p>
|
</p>
|
||||||
<pre>$ ln -sf `pwd`/cxml.asd /path/to/your/registry/</pre>
|
<pre>$ ln -sf `pwd`/cxml.asd /path/to/your/registry/
|
||||||
|
$ ln -sf `pwd`/runes.asd /path/to/your/registry/</pre>
|
||||||
<p>Then compile CXML using:</p>
|
<p>Then compile CXML using:</p>
|
||||||
<pre>* (asdf:operate 'asdf:load-op :cxml)</pre>
|
<pre>* (asdf:operate 'asdf:load-op :cxml)</pre>
|
||||||
|
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
(defun rod-reader (stream subchar arg)
|
(defun rod-reader (stream subchar arg)
|
||||||
(runes::rod-string (runes::rod-reader stream subchar arg)))
|
(runes::rod-string (runes::rod-reader stream subchar arg)))
|
||||||
|
|
||||||
(setf cxml-system::*utf8-runes-readtable*
|
(setf runes-system:*utf8-runes-readtable*
|
||||||
(let ((rt (copy-readtable)))
|
(let ((rt (copy-readtable)))
|
||||||
(set-dispatch-macro-character #\# #\/ 'rune-reader rt)
|
(set-dispatch-macro-character #\# #\/ 'rune-reader rt)
|
||||||
(set-dispatch-macro-character #\# #\" 'rod-reader rt)
|
(set-dispatch-macro-character #\# #\" 'rod-reader rt)
|
||||||
|
|||||||
Reference in New Issue
Block a user