This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Pre-processors for Kawa
- To: kawa at sourceware dot cygnus dot com
- Subject: Pre-processors for Kawa
- From: Jocelyn Paine <popx at pop3 dot ifs dot org dot uk>
- Date: Mon, 25 Jun 2001 17:26:28 +0100 (GMT)
Another question. I would sometimes find it useful to be able to define
infix print/read representations for Kawa terms, e.g.
(row a b c d) at (1 2)
rather than
(at (row a b c d) (1 2))
especially when defining 'little languages' to describe, say, the layout
of a Web page, or the structure of a graph, or whatever. Are there any
preprocessors which one can use for this: give them a set of operator
names, precedences and associativities, and have them parse and convert
such input?
Jocelyn Paine
http://www.ifs.org.uk/~popx/
+44 (0)7768 534 091