【文件属性】:
文件名称:RustParser:用 Nitra 编写的 Rust 解析器
文件大小:19KB
文件格式:ZIP
更新时间:2021-06-26 07:35:20
C#
锈解析器
用 Nitra 编写的 Rust 解析器
发布解析
布尔值、整数、浮点数、字符和字符串字面量
按位、条件和算术运算
非泛型*函数声明
基本控制块:if、loop、while、for、break 和 contiue
let 和 unit 语句
单线和多线彗星
关键词
外部箱声明
使用声明
建造
安装 Nitra ( )
拉取源代码并在最新版本的 Visual Studio 中构建
语法高亮
构建 RustParser 项目
将库 RustParser.dll 复制到 Nitra 安装文件夹(默认情况下:%ProgramFiles(x86)%/JetBrains/Nitra)
编辑文件 NitraGlobalConfig.xml
<Language Name="Rust" FileExtensions=".rs" Grammar="RustParser.RustGr
【文件预览】:
RustParser-master
----.gitignore(2KB)
----RustParser.sln(1KB)
----RustParser()
--------RustGrammar.nitra(10KB)
--------RustParser.nproj(4KB)
--------Properties()
----RustParser.Tests()
--------packages.config(130B)
--------RustParser.Tests.csproj(5KB)
--------Tests()
--------Properties()
--------TestSuit.cs(2KB)
----LICENSE(1KB)
----README.md(996B)
----.gitattributes(2KB)