优美盼望

文章
3
资源
0
加入时间
3年2月3天

yacc lex使用实例

mysql php python中都是使用这个生成词法分析和语法分析器%{typedef char* string;#define YYSTYPE string%}%token NAME EQ AGE%%file : record file| record;record : NAME EQ AGE {printf("%s is %s years old!