source: project/release/4/ssax/ssax-chicken.scm @ 15202

Last change on this file since 15202 was 15202, checked in by Ivan Raikov, 11 years ago

yet more fixes to the ssax import declarations

File size: 765 bytes
Line 
1;========================================================================
2;               Highest-level parsers: XML to SXML
3
4(module ssax
5
6((ssax:make-parser fold)
7 (ssax:make-pi-parser fold)
8 (ssax:make-elem-parser fold)
9 ssax:xml->sxml)
10
11(import scheme chicken ports srfi-13)
12(import (except extras read-string) (except srfi-1 fold fold-right cons*))
13(require-extension input-parse)
14
15(define ucscode->char integer->char)
16(define ascii->char integer->char)
17(define char-return (ascii->char 13))
18(define char-tab (ascii->char 9))
19(define char-newline (ascii->char 10))
20
21(define parser-error error)
22
23(define (ssax:warn port msg . other-msg)
24  (apply cerr (cons* nl "Warning: " msg other-msg)))
25
26(include "myenv-chicken.scm")
27(include "look-for-str.scm")
28(include "SSAX.scm")
29
30)
Note: See TracBrowser for help on using the repository browser.