文件名称:词法分析例子.cpp
文件大小:4KB
文件格式:CPP
更新时间:2014-05-30 07:39:29
词法分析 例子 cpp c源码 程序
词法分析例子- Simple lexical analysis small example 词法分析 例子 cpp c源码 程序 编译原理 案例 char *key[8]={"DO","BEGIN","ELSE","END","IF","THEN","VAR","WHILE"}; char *border[6]={",",";",":=",".","(",")"}; char *arithmetic[4]={"+","-","*","/"}; char *relation[6]={"<","<=","=",">",">=","<>"};