PegasusExample

所属分类:操作系统开发
开发工具:C#
文件大小:0KB
下载次数:0
上传日期:2021-04-29 19:31:55
上 传 者sh-1993
说明:  在.NET Core上使用Pegasus PEG解析器生成器
(Using Pegasus PEG parser generator on .NET Core)

文件列表:
LICENSE (1077, 2019-04-01)
PegasusExample.csproj (327, 2019-04-01)
Program.cs (291, 2019-04-01)
Test.peg (628, 2019-04-01)

[![CodeFactor](https://www.codefactor.io/repository/github/konard/pegasusexample/badge)](https://www.codefactor.io/repository/github/konard/pegasusexample) # Pegasus Example Master branch contains proof of concept example of using [Pegasus](https://github.com/otac0n/Pegasus) PEG generator configured as a [MSBuild](https://github.com/Microsoft/msbuild) Task. If you require all in code dynamic compilation, here an example at [dynamic-compile branch](https://github.com/Konard/PegasusExample/tree/dynamic-compile) ## Setup Requires .NET Core 2.2 SDK and Runtime. https://dotnet.microsoft.com/download ## Run ``` dotnet run ``` ## CompilePegGrammar Task If you need to have more control over parsers' compilation than you might need to use CompilePegGrammar: Replace: ```XML ``` With: ```XML ``` CompilePegGrammar generates files in your working directory, so don't forget to add .gitignore rule for that. ``` # Generated code *.g.cs ``` The full example of using CompilePegGrammar can be found here: https://github.com/Konard/PegasusExample/tree/9b0d0abf0fb7cfc8ec14f01eded55a8cd62c08b8 ## Development process videos https://www.youtube.com/playlist?list=PLeYxH0Vd8lotSflSnuA0TlaFUWQ7-E2af

近期下载者

相关文件


收藏者