File: transform.scm

package info (click to toggle)
dsc 1.0-5
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,212 kB
  • ctags: 587
  • sloc: lisp: 3,006; sh: 1,373; ansic: 862; cpp: 835; makefile: 229
file content (21 lines) | stat: -rw-r--r-- 495 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
;;; transform.scm
;;; Copyright Henry S. Thompson 1996, 1997
;;; Version 1.0

;;; Produced at HCRC, Edinburgh with support for the UK Economic and Social
;;;  Research Council and SunSoft

;;; DSSSL core transformation language
;;; Last edited: Sat Jan  4 14:46:36 1997

(define *d!assocs*
  ;; list of associations
  '())

(define-macro (d!=> . body)
  `(set! *d!assocs* (cons ',body *d!assocs*)))

(define-macro (d!define-transliteration-map var . tle)
  `(define ,var (cons 'd!tlm ',tle)))