This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Pre-processors for Kawa


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 




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]