Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #2703
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Newsgroups | comp.compilers |
| Subject | Re: Has lexing and parsing theory advanced since the 1970's? |
| Date | 2021-09-16 17:09 +0000 |
| Organization | Institut fuer Computersprachen, Technische Universitaet Wien |
| Message-ID | <21-09-009@comp.compilers> (permalink) |
| References | <21-09-008@comp.compilers> |
Roger L Costello <costello@mitre.org> writes: >That said, Flex & Bison is old. Has lexing/parsing theory advanced since the >1970s? If yes, are there parser generators available today which are based on >those advances in lexing/parsing theory? Or does Flex & Bison still represent >the state-of-the-art in terms of the underlying theory it uses? It seems to me that after the success of BNF (context-free grammars) with Algol 60 people wanted to go further, and Algol 68 used a Van Wijngaarden grammar (two-level grammars). But this formalism has not been used for describing and implementing later languages, and even Algol 60 put more in the grammar (in particular, the type difference between flags and numbers) than later languages. Most languages use just BNF and describe the rest of the language in prose, a few use a formal semantics, but I guess that's not what the question was about. So on the language definition side, there have been no advances in grammar formalism, because none are needed. On the implementation side, there have been many attribute grammar generators (e.g., Ox), but few uses. In the back end various more or less formal techniques have been used for instruction selection; e.g., lcc uses the tree-parser generator lburg. - anton -- M. Anton Ertl anton@mips.complang.tuwien.ac.at http://www.complang.tuwien.ac.at/anton/
Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar
Has lexing and parsing theory advanced since the 1970's? Roger L Costello <costello@mitre.org> - 2021-09-14 13:16 +0000 Re: Has lexing and parsing theory advanced since the 1970's? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2021-09-16 17:09 +0000 Re: Has lexing and parsing theory advanced since the 1970's? Kaz Kylheku <480-992-1380@kylheku.com> - 2021-09-17 05:51 +0000 Re: Has lexing and parsing theory advanced since the 1970's? Ev Drikos <drikosev@gmail.com> - 2021-09-29 05:07 -0700
csiph-web