|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T d
Length: 916 (0x394)
Types: TextFile
Names: »destructions«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
└─⟦this⟧ »EUUGD18/General/Kraut/destructions«
Kraut
+++++++++++++++++
Compiling Kraut:
You should have the files: kraut.c and kraut.l and lex.yy.c
kraut.l must be run thru the unix 'lex' utility to produce the file lex.yy.c
Then compile kraut.c and lex.yy.c to produce kraut
$lex kraut.l
$cc kraut.c lex.yy.c -o kraut
(You may get a list of warnings from the compiler. Ignore them.)
Note: lex.yy.c is included in this package. You only need to use lex if you
wish to make changes to kraut.
Using Kraut:
Kraut uses standard input and output.
examples:
To translate a file called 'note' and output kraut to a file called 'knote':
$ cat note | kraut > knote
To translate a file called 'note' and just print it to the screen:
$ cat note | kraut
To have kraut wait to translate what you type at the keyboard and return it in
kraut on your screen:
$ kraut