This is the mail archive of the kawa@sourceware.org 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]
Other format: [Raw text]

How to customize the reader and printer in a language implementation


Per,

What's the right way to arrange for Kawa to use an output format that's not in the formats array in Shell.java? I want to use my own printer with the Bard implementation.

While I'm asking, I may as well also ask about the right way to customize the reader to handle alternative syntax for certain value expressions. For example, I want to read expressions like "{...}" as finite maps, and "[...]" as persistent sequences. I'd also like to arrange for a different surface syntax for character objects.

Thanks,

--me


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