Re:Programmers are bad at managing state (2020)
by rhelz on Tuesday March 26, 2024 @06:07PM
(#39833406)
> It's not as exciting as it sounds.
De Gustibus. Some of us are into that sort of thing. Thanks for the link.
> Thompson: I write my lexers by hand. Much easier.
LMAO. If you've been doing it since the 60's, I suppose you get the hang of it:
Ken Thompson, “Regular expression search algorithm,” Communications of the ACM 11(6) (June 1968), pp. 419–422
Ken discussed yacc briefly in Coders at Work, which I quoted at https://research.swtch.com/yyerror:
Seibel: And are there development tools that just make you happy to program?
Thompson: I love yacc. I just love yacc. It just does exactly what you want done. Its complement, lex, is horrible. It does nothing you want done.
Seibel: Do you use it anyway or do you write your lexers by hand?
Thompson: I write my lexers by hand. Much easier.