[컴파일러] 컴파일러-Scanner 구현
- 최초 등록일
- 2001.11.29
- 최종 저작일
- 2001.11
- 8페이지/
한컴오피스
- 가격 1,000원

소개글
컴파일러 입문
Scanner 구현 프로그램...
목차
없음
본문내용
#include<iostream.h>
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<ctype.h>
#include<fstream.h>
#define ID_LENGTH 12
#define NUMKEYWORD 15
FILE *Wfp;
char ch, *ch2, id[ID_LENGTH];
enum tsymbol {
tnull = -1, tident, tnumber, tlparen, trparen, ttimes,
tplus, tcomma, tminus, tdot, tddot, tcolon,
tassign, tsemicolon, tless, tlesse, tnequal, tequal,
tgreat, tgreate, tlbracket, trbracket, teof,
arraysym, beginsym, constsym, divsym, dosym, endsym,
ifsym, intsym, modsym, ofsym, procsym, progsym,
thensym, varsym, whilesym};
...
참고 자료
없음