Re: Syntax diagram driven parser

vbdis@aol.com (VBDis)
1 Oct 2000 00:28:55 -0400

          From comp.compilers

Related articles
[7 earlier articles]
Re: Syntax diagram driven parser brian_d_webb@hotmail.com (Brian Webb) (2000-09-28)
Re: Syntax diagram driven parser cfc@world.std.com (Chris F Clark) (2000-09-28)
Re: Syntax diagram driven parser vbdis@aol.com (2000-09-28)
Re: Syntax diagram driven parser phantom@southcom.com.au (Paul Nicholls) (2000-10-01)
Re: Syntax diagram driven parser sebmol@gmx.net (Sebastian Moleski) (2000-10-01)
Re: Syntax diagram driven parser irobot@swbell.net (Brian Webb) (2000-10-01)
Re: Syntax diagram driven parser vbdis@aol.com (2000-10-01)
Re: Syntax diagram driven parser vbdis@aol.com (2000-10-08)
Re: Syntax diagram driven parser vbdis@aol.com (2000-10-08)
Re: Syntax diagram driven parser aaron1000@webtv.net (2000-10-08)
Re: Syntax diagram driven parser joachim_d@gmx.de (Joachim Durchholz) (2000-10-10)
Re: Syntax diagram driven parser vbdis@aol.com (2000-10-12)
| List of all articles for this month |

From: vbdis@aol.com (VBDis)
Newsgroups: comp.compilers
Date: 1 Oct 2000 00:28:55 -0400
Organization: AOL Bertelsmann Online GmbH & Co. KG http://www.germany.aol.com
References: 00-09-191
Keywords: parse

"Brian Webb" <brian_d_webb@hotmail.com> schreibt:


>Granted, there are pitfalls to using my tools, but I
>have designed parsers for languages at least as complex as Pascal.


When I tried to create a parser for Delphi, which is a widely used
Pascal dialect, I noticed that the syntax is context sensitive. I also
noticed that the current declaration of the OPL (Object Pascal
Language) contains some elements, which are much closer to the
undelaying language philosopy, and consequently result in very short
declarations, in contrast to any Lex/Yacc or EBNF representation of
the same grammar.


Therefore I think that distinct kinds of grammars require or at least
enforce distinct syntax notifications, which cannot be merged easily
into a single approach. Otherwise you may end up in using something
like assembly language, instead of using a high level language ;-)


DoDi


Post a followup to this message

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