ghelmer@dsuvax.uucp (Guy Helmer) (03/27/90)
The following four postings comprise the source to my port of David Clunie's yacc to MINIX. This port works only with the 1.3 library; I will build my 1.5.5 sources for MINIX and move yacc over to it within the next two weeks. YACC for MINIX seems to work like any other yacc would--it accepts a grammar file and outputs a state-driven parser machine. Somewhat unlike other versions of yacc (namely Bison), this implementation is not a memory hog. It creates many temporary files, though, and a large buffer cache or having /tmp as part of the RAM disk will greatly improve throughput. Also, YACC for MINIX does not yet use unique files per process and leaves directory entries visible for the duration of a files' use (kind of a requirement for MS-DOS), so no more than one copy of YACC for MINIX can be executed on a machine at one time. When I move YACC for MINIX up to MINIX 1.5.5, I will correct this and any other discovered problems and then post cdiffs between this posting and the then-current version. To install, create a directory named 'yacc' in the commands directory, uudecode the postings, uncompress (or compress -d) the postings, and feed the postings to /bin/sh while yacc is the current directory. Futher instructions may then be found in file 'INSTALL'. Cheers! -- Guy Helmer ...!cs.texas.edu!bigtex!uudell!loft386!dsuvax!ghelmer DSU Computing Services ghelmer@dsuvax.uucp, helmer@sdnet.bitnet "... the quickest way to kill any business is to let the government take it over." - Alan Abelson