Go to file
Lan_G e191c1e077 add: exceptions(#7)
Reviewed-on: PostGuard/Canon#7
Co-authored-by: Lan_G <2911328695@qq.com>
Co-committed-by: Lan_G <2911328695@qq.com>
2024-03-13 16:39:00 +08:00
.gitea/workflows feat: 对输入的记号流进行分析 (#4) 2024-03-11 19:33:02 +08:00
Canon.Console refact: 将Compiler类移动到Canon.Console中 2024-03-11 11:40:06 +08:00
Canon.Core add: exceptions(#7) 2024-03-13 16:39:00 +08:00
Canon.Tests fix: 正确处理含有空产生式的语法 (#6) 2024-03-12 14:52:42 +08:00
open_set init: repo 2024-03-09 20:11:27 +08:00
scripts init: repo 2024-03-09 20:11:27 +08:00
.editorconfig init: repo 2024-03-09 20:11:27 +08:00
.gitignore init: repo 2024-03-09 20:11:27 +08:00
Canon.sln add: test action 2024-03-09 21:51:31 +08:00
README.md add: 自述文件 2024-03-10 19:27:01 +08:00

Canon

简单的Pascal编译器。

项目结构

主要由以下三个项目组成:

  • Canon.Core 核心的编译器库,负责词法分析、语法分析、语义分析和目标代码生成等等一系列工作;
  • Canon.Console编译器的控制台应用程序,负责处理命令行参数和读写文件等等工作;
  • Canon.TestsCanon.Core进行测试的测试库。

开始使用

需要:

  • Dotnet SDK 8.0
  • Visual Studio 2022或者Rider 2023.3.3

才能运行和编辑该项目。