johnl@ima.UUCP (02/10/87)
I recommend doing a literature search for papers by David Sandberg. He's a young professor at Oregon State U. who built a compiler with a freely redefinable syntax. The compiler ran at 2000 lines/minute on a Vax, fast enough to be usable, I think. I remember it was possible to define a "|x|" absolute value operator, and he demonstrated a header file to make ";" statement delimiters optional. Operator precedence was specifyable, pair by pair, but that would get huge in a real system. Nathan Myers -- Send compilers articles to ima!compilers or, in a pinch, to Levine@YALE.EDU Plausible paths are { ihnp4 | decvax | cbosgd | harvard | yale | cca}!ima Please send responses to the originator of the message -- I cannot forward mail accidentally sent back to compilers. Meta-mail to ima!compilers-request