Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.compilers > #3385
| From | gah4 <gah4@u.washington.edu> |
|---|---|
| Newsgroups | comp.compilers |
| Subject | syntax complexity |
| Date | 2023-02-15 15:08 -0800 |
| Organization | Compilers Central |
| Message-ID | <23-02-045@comp.compilers> (permalink) |
I started this in another thread, but I think it deserves its own. The question is, how does one measure syntax complexity, with the specific case of Fortran vs. PL/I. (And ignoring syntax vs. semantics, for now.) Even back to the 1970's, I always found that Fortran had strange and (seemingly) arbitrary rules on its syntax. Some of them made sense on the small, early, computers, but didn't go away later. Even worse, as new features were added, and some of the rules were relaxed, new ones appeared. On the other hand, PL/I from the beginning had more general rules. And, it seems to me, more general rules lead to simpler syntax. That is especially true for expressions, where PL/I allows pretty much the same expression syntax everywhere it allows expressions. PL/I had internal procedures from the beginning, though only added to Fortran much later. But when they were, Fortran didn't allow them to be nested. Only one level deep! That might have changed more recently, or maybe now two levels. One complication I see, is that syntax complexity as seen by people, might be different from it as seen by programs.
Back to comp.compilers | Previous | Next — Next in thread | Find similar
syntax complexity gah4 <gah4@u.washington.edu> - 2023-02-15 15:08 -0800
Re: syntax complexity Thomas Koenig <tkoenig@netcologne.de> - 2023-02-16 06:32 +0000
Re: syntax complexity Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2023-02-16 12:03 +0100
Re: syntax complexity gah4 <gah4@u.washington.edu> - 2023-02-16 11:33 -0800
Re: syntax complexity gah4 <gah4@u.washington.edu> - 2023-02-16 16:08 -0800
Re: syntax complexity Roger L Costello <costello@mitre.org> - 2023-02-20 15:09 +0000
Re: syntax complexity gah4 <gah4@u.washington.edu> - 2023-02-20 09:57 -0800
Re: syntax complexity anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2023-02-21 08:14 +0000
Re: syntax complexity anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2023-02-21 18:39 +0000
Re: ireegular expressions, syntax complexity anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2023-02-22 10:55 +0000
Re: irregular expressions, syntax complexity arnold@freefriends.org (Aharon Robbins) - 2023-02-22 08:53 +0000
Re: irregular expressions, syntax complexity Kaz Kylheku <864-117-4973@kylheku.com> - 2023-02-23 00:34 +0000
Re: syntax complexity George Neuner <gneuner2@comcast.net> - 2023-02-20 13:49 -0500
syntax complexity Christopher F Clark <christopher.f.clark@compiler-resources.com> - 2023-02-21 20:54 +0200
csiph-web