Re: extensible compilers

20 Mar 1998 01:25:48 -0500

          From comp.compilers

Related articles
extensible compilers (1998-03-18)
Re: extensible compilers (ICHISUGI Yuuji) (1998-03-20)
Re: extensible compilers (1998-03-20)
Re: extensible compilers (Bruce Stephens) (1998-03-22)
extensible compilers (1998-03-22)
Re: extensible compilers (N. D. Culver) (1998-03-24)
Re: extensible compilers (N. D. Culver) (1998-04-03)
| List of all articles for this month |

From: ICHISUGI Yuuji <>
Newsgroups: comp.compilers
Date: 20 Mar 1998 01:25:48 -0500
Organization: Compilers Central
Keywords: syntax, parse

In 98-03-155 wrotes:
>Do you know anyhow about extendsiable compilers? In the book
>"Algorithms+[DS...]" Wirth wrote that is _VERY_ impossible (not quite,
>but "very"). This time, I develope a compiler, which uses structured
>diagrams for syntax analyzing...
>Do you know an example of similar approach?

  I have developed and just started distribution of
"Extensible Java pre-processor", EPP. (

EPP has a recursive descent parser written with mixin-based
programming style. "EPP plug-ins" can extend Java syntax in
differential-way, using a kind of inheritance mechanism. Left
associative operators can be also added. (Sorry, currently there are
no technical document about the EPP parser, however, source code is
included in the distribution package.)

>[Extensible languages were fashionable in the mid 1970s. It's not
>that hard to do, but people found that the ability to write each
>program in a slightly different, incompatible, language wasn't all that
>useful. -John]

I am conscious of the incompatibility problem. The extension of
syntax should be as small as possible. I designed EPP to be a good
tool for programming language researchers. Syntax extension should be
done only by designers of good design sense. Good syntax will
increase productivity of softwares, and then, EPP must be useful tool.
Yuuji Ichisugi
  Computer Science Division
  Electrotechnical Laboratory

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.