#| -*-Scheme-*-
-$Id: turtle.scm,v 1.1 2006/06/10 04:43:02 cph Exp $
+$Id: turtle.scm,v 1.2 2006/06/23 17:20:28 cph Exp $
Copyright 2006 Massachusetts Institute of Technology
"Expected close parenthesis"))))))))))
(define parse:name
- (*parser
- (match (seq (alphabet alphabet:name-start-char)
- (* (alphabet alphabet:name-char))))))
+ (*parser (match match:name)))
+
+(define match:name
+ (*matcher
+ (seq (alphabet alphabet:name-start-char)
+ (* (alphabet alphabet:name-char)))))
(define parse:prefix-name
- (*parser
- (match (seq (alphabet alphabet:prefix-name-start-char)
- (* (alphabet alphabet:name-char))))))
+ (*parser (match match:prefix-name)))
+
+(define match:prefix-name
+ (*matcher
+ (seq (alphabet alphabet:prefix-name-start-char)
+ (* (alphabet alphabet:name-char)))))
\f
;;;; Literals
#| -*-Scheme-*-
-$Id: xml.pkg,v 1.71 2006/06/22 19:17:29 cph Exp $
+$Id: xml.pkg,v 1.72 2006/06/23 17:20:30 cph Exp $
Copyright 2001,2002,2003,2004,2005,2006 Massachusetts Institute of Technology
rdf-triple-predicate
rdf-triple-subject
rdf-triple?)
- (export (runtime rdf nt)
+ (export (runtime rdf)
%make-rdf-literal
match-bnode-name
match-language))
(files "turtle")
(parent (runtime rdf))
(export ()
- read-rdf/turtle-file))
\ No newline at end of file
+ read-rdf/turtle-file)
+ (export (runtime rdf)
+ match:name
+ match:prefix-name))
\ No newline at end of file