Re: Parsing a language with optional spaces
| Newsgroups | gmane.comp.parsers.bison.general |
|---|---|
| Message-ID | <a632b2da7e776181810e5cb5ad65874df9d3b658@webmail> |
I remember many years ago reading through the IBM 360 (Mainframe) assembler code for the Fortran 66 H compiler to understand how the Hollerith constants were parsed. I suspect finding an "H" after an integer (and skipping that many following characters) might be problematic for today's scanners. There is an excellent write up in Wikipedia. Bill Fenlason