Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #3138
| From | gah4 <gah4@u.washington.edu> |
|---|---|
| Newsgroups | comp.compilers |
| Subject | Re: ALGOLW parser |
| Date | 2022-07-27 13:36 -0700 |
| Organization | Compilers Central |
| Message-ID | <22-07-051@comp.compilers> (permalink) |
| References | <22-07-048@comp.compilers> <22-07-050@comp.compilers> |
On Wednesday, July 27, 2022 at 11:01:09 AM UTC-7, gah4 wrote: > (I wrote) > It seems that in addition to the listings, the source of the MTS > ALGOLW compiler from some years later is available. The low > level I/O routines and other OS specific parts will be different, > but the internal compiler routines should be close. And our moderator wrote: > [Well, whaddaya know. The PL360 table generator that reads the BNF is > just before the BNF, starting on page 81. -John] Aha! Since I didn't know where to start, and especially as I want to compare to the MTS source, I was going through looking for PROCEDURE statements (and for CSECT in the assembly code). I wanted a rough idea about how the modules went together, without too many details. I did notice that the one on page 81 didn't start with PROCEDURE, and thought that was strange, but it didn't occur to me that it was a completely different program. (Even though that is the obvious reason.) So, what was usual for parser generators in 1969? I also noted a linkage editor map for a PL/I (F) program named ALPHA, though the program itself seems not to be there. I was, just a little, suspecting that was the program to read it. thanks! [My recollection is that there were a lot of programs that would read some form of BNF and create parser tables, but yacc was the first one that let you interspese the rules and the action code which made it a lot easier to use. -John]
Back to comp.compilers | Previous | Next — Previous in thread | Find similar
ALGOLW parser gah4 <gah4@u.washington.edu> - 2022-07-26 23:31 -0700
Re: ALGOLW parser gah4 <gah4@u.washington.edu> - 2022-07-27 10:39 -0700
Re: ALGOLW parser gah4 <gah4@u.washington.edu> - 2022-07-27 13:36 -0700
csiph-web