Related articles |
---|
[3 earlier articles] |
Re: Crenshaw's Tutorial joachim.durchholz@halstenbach.com.or.de (Joachim Durchholz) (2000-02-10) |
Re: Crenshaw's Tutorial gneuner@dyn.com (2000-02-12) |
Re: Crenshaw's Tutorial alanf@ns.net (Alan Fargusson) (2000-02-15) |
Re: Crenshaw's Tutorial rhyde@shoe-size.com (Randall Hyde) (2000-02-15) |
Re: Crenshaw's Tutorial joachim.durchholz@halstenbach.com.or.de (Joachim Durchholz) (2000-02-17) |
Re: Crenshaw's Tutorial david.thompson1@worldnet.att.net (David Thompson) (2000-02-21) |
Re: Crenshaw's Tutorial christian.bau@isltd.insignia.com (2000-03-23) |
From: | christian.bau@isltd.insignia.com (Christian Bau) |
Newsgroups: | comp.compilers |
Date: | 23 Mar 2000 22:35:15 -0500 |
Organization: | Insignia Solutions |
References: | 00-01-073 00-02-017 00-02-038 00-02-061 00-02-068 |
Keywords: | Fortran |
"Alan Fargusson" <alanf@ns.net> wrote:
> > C, C++, Java, ADA, SQL and Fortran are not LL(1) [Fortran is LL(k)
> > with a large k].
>
> I doubt that Fortran is LL(k). I don't think any of these languages
> are LR(k).
IIRC the fact that Fortran is LL(k) comes from the fact that the
language has hard rules on the maximum length of a statement. For
example, In Fortran 77 a statement can be at most 20 lines (no more
than 19 continuation lines), and only column 7 to 72 can be used. The
k in LL(k) in Fortran depends on the maximum number of characters in a
statement.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.