DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T x

⟦22d107dc2⟧ TextFile

    Length: 1166 (0x48e)
    Types: TextFile
    Names: »xxxlex.l«

Derivation

└─⟦060c9c824⟧ Bits:30007080 DKUUG TeX 2/12/89
    └─⟦this⟧ »./DVIware/laser-setters/quicspool/src/xxxlex.l« 
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦af5ba6c8e⟧ »unix3.0/DVIWARE.tar.Z« 
        └─⟦ca79c7339⟧ 
            └─⟦this⟧ »DVIware/laser-setters/quicspool/src/xxxlex.l« 

TextFile

/* $Header: xxxlex.l,v 1.2 88/02/03 08:52:10 simpson Exp $ */
%{
/*
$Log:	xxxlex.l,v $
 * Revision 1.2  88/02/03  08:52:10  simpson
 * added tpic support
 * 
 * Revision 1.1  88/01/15  13:06:01  simpson
 * initial release
 * 
 * Revision 0.1  87/12/11  18:31:28  simpson
 * beta test
 * 
*/
#undef input
#define input() (Pxxxstring && *Pxxxstring ? *Pxxxstring++ : 0)
#undef unput
#define unput(c) if (Pxxxstring > Xxxstring) *--Pxxxstring = c
%}
integer	    [0-9]+
real	    [0-9]+\.[0-9]*|[0-9]*\.[0-9]+
whitespace  [ \t\n]+
%%
{integer}	    {
			yylval.i = atoi(yytext);
		        return INTEGER;
		    }
{real}		    {
			yylval.f = atof(yytext);
			return FLOAT;
		    }
pn		    return PENSIZE;
fp		    return FLUSHPATH;
da		    return FLUSHDASHED;
dt		    return FLUSHDOTTED;
pa		    return ADDPATH;
ar		    return DRAWARC;
sp		    return FLUSHSPLINE;
sh		    return SHADELAST;
wh		    return WHITENLAST;
bk	            return BLACKENLAST;
tx	            return TEXTURE;
[^\,\)\( \t\n]+	    {
			(void)strcpy(yylval.s, yytext);
			if (EQ(yytext, "overlay"))
			    return OVERLAY;
			return STRING;
		    }
\, |
\( |
\)		    return yytext[0];
{whitespace}	    ;