feat(frontend): 重构词法分析器
- 添加 .gitignore 文件,忽略编译器生成的二进制文件 - 重构 lexer.c 文件,改进了关键字处理和字符串处理 - 更新前端的前端、解析器和 AST 相关文件,以适应新的词法分析器 - 优化了 token 相关的定义和函数,引入了新的 token 类型
This commit is contained in:
22
.gitignore
vendored
Normal file
22
.gitignore
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
.vscode/
|
||||
|
||||
# smcc compiler generated files
|
||||
*.bin
|
||||
|
||||
# linux binary files
|
||||
*.o
|
||||
*.a
|
||||
*.so
|
||||
*.out
|
||||
|
||||
# windows binary files
|
||||
*.obj
|
||||
*.lib
|
||||
*.dll
|
||||
*.exe
|
||||
|
||||
# developed notes
|
||||
note.md
|
||||
|
||||
# python
|
||||
.venv
|
Reference in New Issue
Block a user