Now that the PDF files have been transcribed and scanned in, I've moved

copies of them over into the src/ area so that we can add comments and
make other changes, while keeping the original OCR'd ones intact.
This commit is contained in:
Warren Toomey
2016-02-29 06:40:15 +10:00
parent ab77e0c69c
commit 63223cfa7c
35 changed files with 11448 additions and 1 deletions
+26
View File
@@ -0,0 +1,26 @@
main $(
extrn read, write;
auto i, c, state, line 100;
loop:
state = i = 0;
loop1:
c = read();
if(c==4) return;
if(c==';' & state==0) state = 2;
if((c<'0' ^ c>'9'&c<'a' ^ c>'z') & state==0) state = 1;
line[i] = c;
i = i+1;
if(c!=012) goto loop1;
if(state==2 ^ i==1) goto noi;
write(' ');
write(' ');
noi:
i = 0;
loop3:
c = line[i];
write(c);
i = i+1;
if(c!=012) goto loop3;
goto loop;
$)