[cxml-cvs] CVS cxml

dlichteblau dlichteblau at common-lisp.net
Sat May 26 21:55:58 UTC 2007


Update of /project/cxml/cvsroot/cxml
In directory clnet:/tmp/cvs-serv28676

Modified Files:
	cxml.asd 
Log Message:
runes.asd
neues release


--- /project/cxml/cvsroot/cxml/cxml.asd	2007/05/20 09:39:04	1.17
+++ /project/cxml/cvsroot/cxml/cxml.asd	2007/05/26 21:55:57	1.18
@@ -1,6 +1,3 @@
-;;; XXX Die vielen verschiedenen Systeme hier sollten vielleicht
-;;; Module eines grossen Systems CXML werden?
-
 (defpackage :cxml-system
   (:use :asdf :cl))
 (in-package :cxml-system)
@@ -14,45 +11,6 @@
     (let (#+sbcl (*compile-print* nil))
       (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
     :default-component-class closure-source-file
     :pathname (merge-pathnames
@@ -72,7 +30,7 @@
      (:file "space-normalizer" :depends-on ("xml-parse"))
      (:file "catalog"         :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)))
 
@@ -90,11 +48,10 @@
 (defmethod perform ((o load-op) (c utf8dom-file))
   (load (slot-value c 'of)))
 
-(defvar *utf8-runes-readtable*)
-
 (defmethod perform ((operation compile-op) (c utf8dom-file))
   (let ((*features* (cons 'utf8dom-file *features*))
-	(*readtable* *utf8-runes-readtable*))
+	(*readtable*
+	 (symbol-value (find-symbol "*UTF8-RUNES-READTABLE*" :runes-system))))
     (call-next-method)))
 
 (asdf:defsystem :cxml-dom




More information about the Cxml-cvs mailing list