;; $Id: stx-engine.scm,v 1.9502 2004/01/22 01:11:45 kl Exp kl $ ;============================================================================= ; Auxilliary (define (cerr . args) (for-each (lambda (x) (if (procedure? x) (x (current-error-port)) (display x (current-error-port)))) args)) (define (stx:error . messages) (cerr nl "STX: ") (apply cerr messages) (cerr nl) (exit -1)) ;------------------------------------------------------------------------------ ; These macros provide support for abbreviated stylesheets: ; ; ::= (stx:stylesheet