UCS: using syntax diagrams for parsing

mtrofimov@glas.apc.org (Michael Trofimov)
15 Apr 1998 23:24:51 -0400

          From comp.compilers

Related articles
UCS: using syntax diagrams for parsing mtrofimov@glas.apc.org (1998-04-15)
| List of all articles for this month |

From: mtrofimov@glas.apc.org (Michael Trofimov)
Newsgroups: comp.compilers
Date: 15 Apr 1998 23:24:51 -0400
Organization: Compilers Central
Keywords: parse

UCS: using syntax diagrams for parsing

The Universal Compiler Shell (UCS) was briefly described in previous
messages (see, topic "extensible compilers"). Extensibility and
debugging were discussed (again many thanks for your replies).

Now, may I suggest for discussion another interesting feature of
UCS: in contrast to classical compilers UCS uses syntax diagrams
for parsing directly. In common sense, we can not be sure that any
compiler is exactly corresponded to syntax diagrams reproduced on a
paper in its manual. Moreover, proving of such correspondence is a
hard task for developers and testers of the compiler. The situation
is closely connected with well-known problems of standardisation.
The fact is that today the most popular compilers do not exactly
correspond to programming language standards. In the case of UCS
approach we are able to observe syntax diagrams which diagrams not
only printed on a paper for user's reading, but also control
parsing processes. In this case a developer has a real possibility
to correct the compiler via diagram correction. It looks
like much
more easy then compiler testing/ correction/ improvement for
classical approach.

What do you think about?

Michael I. Trofimov
Russian Academy of Sci. Moscow, Russia
email: mtrofimov@glas.apc.org

Post a followup to this message

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