housel@ecn.purdue.edu (Peter S. Housel) (05/08/90)
Here are the diffs for running Berkeley Yacc under Minix-PC. (It shouldn't require any changes for the Atari.) The changes mostly deal with making identifiers unique to seven characters, taking care of name conflicts with static variables, and reducing the size of one table. A makefile is also provided. Berkeley Yacc is a public-domain replacement for yacc (Yet Another Compiler-Compiler) written by Bob Corbett at UC Berkeley. The program uses malloc() heavily, and so will be a bit slow with the usual Minix malloc() routine. The malloc() included with the sources to 'patch' is much faster for this application, but also wastes memory space. The following are diffs to the version avalable via ftp from ucbarpa.Berkeley.EDU (in pub/byacc.tar.Z), or from your nearest comp.sources.unix archive (it was posted as Volume 21 issues 78 through 82). This week only(!), those who cannot obtain the source via one of these other methods can ask me and I can mail it to them. -Peter S. Housel- housel@ecn.purdue.edu ...!pur-ee!housel table !"#$%&'()*+,-./0123456789:;<=>? @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ begin 644 SHARF.Z M'YV,9<:@>0/B!!X0+4 T";.FC)DT;,J<4#"G#)F"<UYXP?+BQ0D0/'B<4*&Bz MQ<*&#R.V*/+$2 N2'WV<= BQC (L1(I,H9( A,^?/4"XN'D3"1$I4WK^]!F4y MC,,Y+M 0Q3+$"),@1Y(N98J0R!0D3Z10^5($"Y4B4IP$8?)%;1.=77<&H9)Dx MR)<A3YQ8K4ME*A,B5K%JW1JT11J$5(9BN<DDB9#!2WOX3>)D"5JED4&,&3.Uw M21#+1I(P*;(51-"9*6TNQO)$B!+(0#6S>3.GCIPR+N: X'(S08(R<N2\D9-[v M=^\$;,*P(:Z;-Q;?RV$4=^Z[39@T;J8?;[,&3ACFQI\G>%.'#ISRVL7?#N,4u M//4$<QI&I/,F>_/C<_*TH1-&3'K?=@ G!FVXW2?>'=_-@89R;.0V%1124,93t M:4'!(0="9B#$!@XX/"C%$T=($403F,661QB;336%%$/ QM48L]5VFPMCA.<;s M<,(15^-[R2U'HXW(R2'=CMM=EQV1XG'GG8Y DF<>>DCZMEY[/[X77QGSU5<Er M?OKQ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