This is TeX, Version 3.14159 (Web2C 7.3.1) (format=latex 1999.8.27) 10 FEB 2003 11:24 **\nonstopmode\input{minicompil.tex} (minicompil.tex (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 1999/01/07 v1.4a Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo File: size10.clo 1999/01/07 v1.4a Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/usr/share/texmf/tex/latex/graphics/color.sty Package: color 1999/02/16 v1.0i Standard LaTeX Color (DPC) (/usr/share/texmf/tex/latex/config/color.cfg) Package color Info: Driver file: dvips.def on input line 125. (/usr/share/texmf/tex/latex/graphics/dvips.def File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) ) (/usr/share/texmf/tex/latex/graphics/dvipsnam.def File: dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) )) (/usr/share/texmf/tex/latex/graphics/graphics.sty Package: graphics 1999/02/16 v1.0l Standard LaTeX Graphics (DPC,SPQR) (/usr/share/texmf/tex/latex/graphics/trig.sty Package: trig 1999/03/16 v1.09 sin cos tan (DPC) ) (/usr/share/texmf/tex/latex/config/graphics.cfg) Package graphics Info: Driver file: dvips.def on input line 80. ) (minicompil.aux) \openout1 = `minicompil.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 17. LaTeX Font Info: ... okay on input line 17. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 17. LaTeX Font Info: ... okay on input line 17. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 17. LaTeX Font Info: ... okay on input line 17. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 17. LaTeX Font Info: ... okay on input line 17. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 17. LaTeX Font Info: ... okay on input line 17. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 17. LaTeX Font Info: ... okay on input line 17. [1 ] Overfull \hbox (46.88614pt too wide) in paragraph at lines 34--36 \OT1/cmr/m/n/17.28 Construction d'un tra-duc-teur d'expressions arithm^^Setique s [] File: minicomp.eps Graphic file (type eps) Overfull \hbox (60.51653pt too wide) in paragraph at lines 46--47 [][] [] [2] LaTeX Font Info: External font `cmex10' loaded for size (Font) <17.28> on input line 54. LaTeX Font Info: External font `cmex10' loaded for size (Font) <12> on input line 54. [3] File: arbre1.eps Graphic file (type eps) [4] [5] [6] [7] Overfull \hbox (9.15027pt too wide) in paragraph at lines 150--153 \OT1/cmr/m/n/17.28 de vis-ite de l'arbre d'analyse: l'ordre de l'exploration [] [8] [9] [10] Overfull \hbox (28.46393pt too wide) in paragraph at lines 233--233 [] \OT1/cmtt/m/n/17.28 match('+'); term(); putchar('+');[] [] Overfull \hbox (28.46393pt too wide) in paragraph at lines 233--233 [] \OT1/cmtt/m/n/17.28 match('-'); term(); putchar('-');[] [] [11] [12] Overfull \hbox (1.78793pt too wide) in paragraph at lines 272--272 [] \OT1/cmtt/m/n/17.28 exit(1); /*arrete l'execution */[] [] [13] Overfull \hbox (9.93225pt too wide) in paragraph at lines 280--281 []\OT1/cmr/m/n/17.28 Paire \OT1/cmr/m/it/17.28 producteur-consommateur \OT1/cmr /m/n/17.28 avec l'analyseur [] File: analex.eps Graphic file (type eps) Overfull \hbox (17.95737pt too wide) in paragraph at lines 284--285 [][] [] Overfull \hbox (40.18098pt too wide) detected at line 292 \OML/cmm/m/it/17.28 < []; \OT1/cmr/m/n/17.28 12 \OML/cmm/m/it/17.28 >< \OT1/cmr /m/n/17.28 +\OML/cmm/m/it/17.28 ; >< []; \OT1/cmr/m/n/17.28 45 \OML/cmm/m/it/17 .28 >< \OMS/cmsy/m/n/17.28 ^^@\OML/cmm/m/it/17.28 ; >< []; \OT1/cmr/m/n/17.28 8 \OML/cmm/m/it/17.28 > [] [14] File: lexan.eps Graphic file (type eps) Overfull \hbox (42.85046pt too wide) in paragraph at lines 299--300 [][] [] Overfull \hbox (3.85487pt too wide) in paragraph at lines 302--304 []\OT1/cmr/m/n/17.28 Le type du lex^^Reme est un en-tier repr^^Sesent^^Se comme [] [15] Overfull \hbox (90.70792pt too wide) in paragraph at lines 347--347 [] \OT1/cmtt/m/n/17.28 else if (isdigit(t)) { /* t est un chiffre*/[] [] Overfull \hbox (10.67993pt too wide) in paragraph at lines 347--347 [] \OT1/cmtt/m/n/17.28 tokenval = tokenval*10 + t-'0';[] [] [16] [17] File: symtable.eps Graphic file (type eps) [18] File: schemaSym.eps Graphic file (type eps) Overfull \hbox (20.3664pt too wide) in paragraph at lines 377--378 [][] [] [19] Overfull \hbox (90.70792pt too wide) in paragraph at lines 649--649 []\OT1/cmtt/m/n/17.28 #include /*charge des routines i/o*/[] [] Overfull \hbox (90.70792pt too wide) in paragraph at lines 649--649 []\OT1/cmtt/m/n/17.28 #include /*charge les routines de */[] [] Overfull \hbox (64.03192pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 /*test de caract\`eres*/[] [] Overfull \hbox (10.67993pt too wide) in paragraph at lines 649--649 []\OT1/cmtt/m/n/17.28 #define BSIZE 128 /*taille du tampon*/[] [] Overfull \hbox (99.59991pt too wide) in paragraph at lines 649--649 []\OT1/cmtt/m/n/17.28 int tokenval; /*valeur de l'attribut du lexeme*/[] [] Overfull \hbox (90.70792pt too wide) in paragraph at lines 649--649 []\OT1/cmtt/m/n/17.28 struct entry { /*structure des elements de la */[] [] Overfull \hbox (19.57193pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 char *lexptr; /*table des symboles*/[] [] [20] Overfull \hbox (144.0599pt too wide) in paragraph at lines 649--649 []\OT1/cmtt/m/n/17.28 extern struct entry symtable[]; /*table des symboles*/[] [] [21] Overfull \hbox (81.81592pt too wide) in paragraph at lines 649--649 []\OT1/cmtt/m/n/17.28 init() /* charge les mots-cle dans la table */[] [] Overfull \hbox (10.67993pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 exit(0); /*terminaison normale*/[] [] [22] Overfull \hbox (90.70792pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 else if (isdigit(t)) { /* t est un chiffre*/[] [] [23] Overfull \hbox (72.92392pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 else if (isalpha(t)) { /*t est une lettre*/[] [] Overfull \hbox (64.03192pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 while (isalnum(t)){ /*t est alphanum. */[] [] Overfull \hbox (37.35593pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 error("erreur de compilation");[] [] [24] Overfull \hbox (72.92392pt too wide) in paragraph at lines 649--649 []\OT1/cmtt/m/n/17.28 /********** parser.c *************************/[] [] Overfull \hbox (46.24792pt too wide) in paragraph at lines 649--649 []\OT1/cmtt/m/n/17.28 parse() /* analyse et traduit la liste */[] [] Overfull \hbox (72.92392pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 match(lookahead); term(); emit(t, NONE);[] [] [25] Overfull \hbox (64.03192pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 case '*': case '/': case DIV: case MOD:[] [] Overfull \hbox (108.49191pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 match(lookahead); factor(); emit(t, NONE);[] [] [26] Overfull \hbox (72.92392pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 match('(');expr();match(')');break;[] [] Overfull \hbox (108.49191pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 emit(NUM, tokenval); match(NUM); break;[] [] Overfull \hbox (90.70792pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 emit(ID, tokenval); match(ID); break;[] [] Overfull \hbox (99.59991pt too wide) in paragraph at lines 649--649 []\OT1/cmtt/m/n/17.28 #define STRMAX 999 /*taille de la table lexemes*/[] [] Overfull \hbox (46.24792pt too wide) in paragraph at lines 649--649 []\OT1/cmtt/m/n/17.28 #define SYMMAX 100 /* taille de symtable*/[] [] Overfull \hbox (19.57193pt too wide) in paragraph at lines 649--649 []\OT1/cmtt/m/n/17.28 int lastchar = -1; /*derniere position */[] [] Overfull \hbox (46.24792pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 /* utilisee dans lexemes*/[] [] [27] Overfull \hbox (10.67993pt too wide) in paragraph at lines 649--649 []\OT1/cmtt/m/n/17.28 int lastentry= 0; /*derniere position */[] [] Overfull \hbox (55.13992pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 /* utilisee dans symtable*/[] [] Overfull \hbox (81.81592pt too wide) in paragraph at lines 649--649 []\OT1/cmtt/m/n/17.28 int lookup(char s[]) /*retourne la position */[] [] Overfull \hbox (10.67993pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 /* d'une entree pour s */[] [] Overfull \hbox (55.13992pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 if (strcmp(symtable[p].lexptr, s) == 0)[] [] Overfull \hbox (161.8439pt too wide) in paragraph at lines 649--649 []\OT1/cmtt/m/n/17.28 int insert(char s[], int tok) /*retourne la position */ [] [] Overfull \hbox (55.13992pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 /* d'une entree pour s */[] [] Overfull \hbox (64.03192pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 len = strlen(s); /* strlen calcule la */[] [] Overfull \hbox (28.46393pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 /* longueur de s */[] [] [28] Overfull \hbox (19.57193pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 error("tableau des lexemes plein");[] [] Overfull \hbox (19.57193pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 = &lexemes[lastchar + 1];[] [] Overfull \hbox (28.46393pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 strcpy(symtable[lastentry].lexptr, s);[] [] Overfull \hbox (135.16791pt too wide) in paragraph at lines 649--649 []\OT1/cmtt/m/n/17.28 error(char *m) /* engendre les messages d'erreur */[] [] Overfull \hbox (90.70792pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 fprintf(stderr, "line %d: %s\n", lineno, m);[] [] Overfull \hbox (10.67993pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 exit(1); /*terminaison anormale*/[] [] Overfull \hbox (46.24792pt too wide) in paragraph at lines 649--649 []\OT1/cmtt/m/n/17.28 /*************** emitter.c ****************/[] [] Overfull \hbox (46.24792pt too wide) in paragraph at lines 649--649 []\OT1/cmtt/m/n/17.28 emit(int t,int tval) /*engendre l'output*/[] [] [29] Overfull \hbox (55.13992pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 case '+': case '-': case '*': case '/':[] [] Overfull \hbox (64.03192pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 printf("%s\n", symtable[tval].lexptr);[] [] Overfull \hbox (108.49191pt too wide) in paragraph at lines 649--649 [] \OT1/cmtt/m/n/17.28 printf("token %d, tokenval %d\n", t, tval);[] [] [30] (minicompil.aux) ) Here is how much of TeX's memory you used: 622 strings out of 10898 7501 string characters out of 96881 52115 words of memory out of 263001 3598 multiletter control sequences out of 10000+0 7249 words of font info for 26 fonts, out of 400000 for 1000 14 hyphenation exceptions out of 1000 24i,7n,17p,205b,302s stack positions out of 300i,100n,500p,50000b,4000s Output written on minicompil.dvi (30 pages, 27188 bytes).