- 博客(2)
- 资源 (2)
- 收藏
- 关注
原创 c++识别标识符
#include "stdafx.h"#include <iostream> #include "string.h" #define N 15 using namespace std;struct TokenType{ int code, value;};char *keywords[] = { "program","procedure","begin","end&
2018-05-29 12:33:02 1897 1
原创 C++实现词法分析器
#include "stdafx.h"#include <iostream> #include "string.h" #include <string>using namespace std;using namespace System;static int index = -1;//定义解析字符串string arry[100];//当前符号string Sym;stat...
2018-05-29 12:31:56 286 1
词法分析器
2018-07-23
SLR(1)分析法的实现
2018-07-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人