[ale] They were Giants in those Days

Jon "maddog" Hall jon.maddog.hall at gmail.com
Mon Jan 5 19:11:48 EST 2026


An engineer at DEC was writing "uwm", one of the first window managers for
the X Window System.

He wanted a startup file that would override the built-in initial values
for the widgets if the user wanted to supply the values in the file.   He
had a choice to write the code for parsing the file in "C" or use Lex and
Yacc to build a parser.   He decided to try Lex and Yacc, figuring that it
would be a lot easier to make changes to the "language" description than to
try and change the "C" program that did the parsing.   He thought "Hey, the
parser will only run one time at start-up...it can be a little slow."

The parser created by Lex and Yacc was so fast he was amazed.  He never
even gave a second thought about changing it into "C".

You might know this guy.   He wrote "The Philosophy of Linux and Unix",
Mike Gancarz.

md

On Mon, Jan 5, 2026 at 4:00 PM lollipopman691 via Ale <ale at ale.org> wrote:

> Alfred Aho explains Lex and YACC.  Learning (f)lex and (bison)YACC changed
> my life, for better or for worse.
>
> https://www.youtube.com/watch?v=0ssGOC9m8Nk
>
> -- CHS
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> https://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.ale.org/pipermail/ale/attachments/20260105/2845faa8/attachment.htm>


More information about the Ale mailing list