The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] yacc for Unix v5
@ 2014-09-27 19:03 Mark Longridge
  2014-09-28  4:48 ` scj
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Longridge @ 2014-09-27 19:03 UTC (permalink / raw)


I've been looking into the history of yacc (yet another compiler compiler).

The earliest reference I can find is the man page for yacc from v3
which indicates that yacc was written in B language. The files actn.b
and /crp/scj/bigyacc are mentioned. No luck so far in locating those
files.

There is a man page for v4 which is very brief.

There is a yacc executable for v5 but so far I haven't found any v5
era code that works with it. My attempts to compile bc.y from v6 using
yacc from v5 were not successful.
Also the source code for yacc in v5 is missing.

On a happier note I was able to use yacc and cc to regenerate the bc
calculator in v6. It needed a fair amount of swap space to compile
otherwise an "Intermediate file error" will occur. It seemed to
require at least 300 blocks of hard drive space.

It's a bit mysterious what the Unix v5 yacc was used on. It predated
bc and expr. There's no v5 era *.y files available to look at.

Mark



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-28  4:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-27 19:03 [TUHS] yacc for Unix v5 Mark Longridge
2014-09-28  4:48 ` scj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).