[GoLUG] [parse] My studies with O'Reilly's book on Flex and Bison

Steve Litt slitt at troubleshooters.com
Wed Nov 22 23:19:45 EST 2023


Hi all,

After hitting all sorts of dead ends, I decided to read "flex & bison"
by John Levine, published by O'Reilly. Unfortunately, it's going
slowly. The very first simple example didn't compile, and when I got it
to compile, it didn't work as designed. There are three possible causes
of this failure:

1) Flex has changed
2) GCC has changed
3) The book's technical editing was insufficient.

So I'll need to take my Hello World Flex program and slowly change it
until it can count characters, words and lines like the example program
in the book.

I'm finding this type of thing in a lot of Flex documentation: Stuff
they swear works doesn't.

David and I are still presenting on parsing/compilation in the December
GoLUG meeting, and if nothing else we'll reveal what doesn't work.

SteveT

Steve Litt 

Autumn 2023 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21



More information about the GoLUG mailing list