[TUHS] Yacc binary on 4th edition tape

Lars Brinkhoff via TUHS tuhs at tuhs.org
Tue Jan 20 15:40:12 AEST 2026


Jonathan Gray via TUHS <tuhs at tuhs.org> writes:
>> > - 1971: first version of yacc created in B
> "yacc was written in 1972"

Alan Snyder was at Bell labs in this time period, and brought C and yacc
back to MIT.  The input file to his yacc looks rather archanic, perhaps
influenced by the B yacc?  I asked Johnson about it, but he didn't
recognize it.  Here's an example, the grammar for Snyder's C compiler.

https://github.com/PDP-10/its/blob/master/src/c/c.grammr


More information about the TUHS mailing list