[plexippus-xpath-devel] Plexippus and CLISP

Andrew Pennebaker andrew.pennebaker at gmail.com
Wed Feb 9 22:39:01 UTC 2011


I'm having trouble building cxml-stp, because xpath isn't quite working.

I realize that Plexippus XPath is not designed for CLISP, but I think we can
work together to change that.

Specs:

cxml-stp 20101107

Quicklisp 2010121400

CLISP 2.49

MacPorts 1.9.2

Mac OS X 10.6.6

MacBook Pro 5,1

Trace:

[1]> (ql:quickload "cxml-stp")
To load "cxml-stp":
  Load 5 ASDF systems:
    alexandria babel cl-ppcre puri trivial-gray-streams
  Install 6 Quicklisp releases:
    cl-yacc closure-common cxml cxml-stp parse-number
    plexippus-xpath
; Fetching
#<URL
  "http://beta.quicklisp.org/archive/cl-yacc/2010-10-06/cl-yacc-20101006-darcs.tgz">
; 18.33KB
==================================================
18,774 bytes in 0.04 seconds (453.17KB/sec)
; Fetching
#<URL
  "http://beta.quicklisp.org/archive/parse-number/2010-10-06/parse-number-1.0.tgz">
; 3.64KB
==================================================
3,726 bytes in 0.00 seconds (751.17KB/sec)
; Fetching
#<URL
  "http://beta.quicklisp.org/archive/plexippus-xpath/2010-10-06/plexippus-xpath-20101006-darcs.tgz">
; 54.64KB
==================================================
55,953 bytes in 0.12 seconds (451.61KB/sec)
; Fetching
#<URL
  "http://beta.quicklisp.org/archive/closure-common/2010-11-07/closure-common-20101107-git.tgz">
; 26.95KB
==================================================
27,601 bytes in 0.05 seconds (587.12KB/sec)
; Fetching
#<URL
  "http://beta.quicklisp.org/archive/cxml/2010-11-07/cxml-20101107-git.tgz">
; 151.09KB
==================================================
154,716 bytes in 0.32 seconds (479.20KB/sec)
; Fetching
#<URL
  "http://beta.quicklisp.org/archive/cxml-stp/2010-11-07/cxml-stp-20101107-git.tgz">
; 50.82KB
==================================================
52,036 bytes in 0.10 seconds (531.95KB/sec)
; Loading "cxml-stp"
;;; Checking for wide character support... WARNING: Lisp
implementation doesn't use UTF-16, but accepts surrogate code points.
 yes, using code points.
;;; Checking for wide character support... WARNING: Lisp
implementation doesn't use UTF-16, but accepts surrogate code points.
 yes, using code points.
;;; Building Closure with CHARACTER RUNES
[package yacc]....................................
[package cl-ppcre]................................
[package org.mapcar.parse-number].................
[package runes]...................................
[package utf8-runes]..............................
[package runes-encoding]..........................
[package hax].....................................
[package cxml]....................................
[package sax].....................................
[package cxml-xmls]...............................
[package dom].....................................
[package rune-dom]................................
[package klacks]..................................
[package domtest].................................
[package domtest-tests]...........................
[package xmlconf].................................
[package xpath-protocol]..........................
[package xpattern]................................
[package xpath]...................................
[package xpath-sys]...........
*** - LOOP: syntax error after HASH-KEY in
       (LOOP FOR KEY BEING EACH HASH-KEY USING (HASH-VALUE ACCUM) IN TABLE IF
        (AND (CONSP KEY) (EQ (CAR KEY) 'PATTERN)) COLLECT (CONS KEY ACCUM) INTO
        PATTERNS ELSE COLLECT (CONS KEY ACCUM) INTO EXPRESSIONS FINALLY
        (RETURN
         (VALUES (SORT EXPRESSIONS #'> :KEY #'SECOND)
          (SORT PATTERNS #'> :KEY #'SECOND))))
The following restarts are available:
TRY-RECOMPILING :R1     Try recompiling profile
RETRY          :R2      Retry compiling component ("xpath" "profile").
ACCEPT         :R3      Continue, treating compiling component
("xpath" "profile") as having been successful.
ABORT          :R4      Give up on "cxml-stp"
ABORT          :R5      Abort main loop
Break 1 XPATH[2]> :r2

*** - LOOP: syntax error after HASH-KEY in
       (LOOP FOR KEY BEING EACH HASH-KEY USING (HASH-VALUE ACCUM) IN TABLE IF
        (AND (CONSP KEY) (EQ (CAR KEY) 'PATTERN)) COLLECT (CONS KEY ACCUM) INTO
        PATTERNS ELSE COLLECT (CONS KEY ACCUM) INTO EXPRESSIONS FINALLY
        (RETURN
         (VALUES (SORT EXPRESSIONS #'> :KEY #'SECOND)
          (SORT PATTERNS #'> :KEY #'SECOND))))
The following restarts are available:
TRY-RECOMPILING :R1     Try recompiling profile
RETRY          :R2      Retry compiling component ("xpath" "profile").
ACCEPT         :R3      Continue, treating compiling component
("xpath" "profile") as having been successful.
ABORT          :R4      Give up on "cxml-stp"
ABORT          :R5      Abort main loop

Cheers,

Andrew Pennebaker

http://www.yellosoft.us/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/plexippus-xpath-devel/attachments/20110209/f8527eee/attachment.html>


More information about the plexippus-xpath-devel mailing list