VBF

所属分类:前端开发
开发工具:C#
文件大小:469KB
下载次数:0
上传日期:2016-06-29 02:46:20
上 传 者sh-1993
说明:  一种灵活且可扩展的编程语言编译器前端库。
(A flexible and extensible front-end library of a programming language compiler.)

文件列表:
LICENSE.txt (11358, 2016-06-29)
packagespecs (0, 2016-06-29)
packagespecs\VBF.Compilers.Common (0, 2016-06-29)
packagespecs\VBF.Compilers.Common\VBF.Compilers.Common.nuspec (1221, 2016-06-29)
packagespecs\VBF.Compilers.Parsers (0, 2016-06-29)
packagespecs\VBF.Compilers.Parsers\VBF.Compilers.Parsers.nuspec (1648, 2016-06-29)
packagespecs\VBF.Compilers.Scanners (0, 2016-06-29)
packagespecs\VBF.Compilers.Scanners\VBF.Compilers.Scanners.nuspec (1457, 2016-06-29)
resign.cmd (293, 2016-06-29)
src (0, 2016-06-29)
src\Compilers (0, 2016-06-29)
src\Compilers\.nuget (0, 2016-06-29)
src\Compilers\.nuget\NuGet.Config (164, 2016-06-29)
src\Compilers\.nuget\NuGet.targets (6560, 2016-06-29)
src\Compilers\.nuget\nuget.exe (619520, 2016-06-29)
src\Compilers\Compilers.Common (0, 2016-06-29)
src\Compilers\Compilers.Common\CodeContract.cs (1867, 2016-06-29)
src\Compilers\Compilers.Common\Common (0, 2016-06-29)
src\Compilers\Compilers.Common\Common\DepthFirstSearch.cs (4056, 2016-06-29)
src\Compilers\Compilers.Common\Common\DisjointSets.cs (2655, 2016-06-29)
src\Compilers\Compilers.Common\Common\EditDistanceCalculator.cs (2762, 2016-06-29)
src\Compilers\Compilers.Common\Common\PriorityQueue.cs (6650, 2016-06-29)
src\Compilers\Compilers.Common\Common\StringHelpers.cs (907, 2016-06-29)
src\Compilers\Compilers.Common\CompilationError.cs (1428, 2016-06-29)
src\Compilers\Compilers.Common\CompilationErrorInfo.cs (1163, 2016-06-29)
src\Compilers\Compilers.Common\CompilationErrorInfoCollection.cs (929, 2016-06-29)
src\Compilers\Compilers.Common\CompilationErrorList.cs (2153, 2016-06-29)
src\Compilers\Compilers.Common\CompilationErrorManager.cs (1665, 2016-06-29)
src\Compilers\Compilers.Common\CompilationStage.cs (869, 2016-06-29)
src\Compilers\Compilers.Common\Compilers.Common.csproj (3451, 2016-06-29)
src\Compilers\Compilers.Common\Properties (0, 2016-06-29)
src\Compilers\Compilers.Common\Properties\AssemblyInfo.cs (2018, 2016-06-29)
src\Compilers\Compilers.Common\RevertPoint.cs (1203, 2016-06-29)
src\Compilers\Compilers.Common\RevertPointCollection.cs (895, 2016-06-29)
src\Compilers\Compilers.Common\SourceLocation.cs (2396, 2016-06-29)
src\Compilers\Compilers.Common\SourceReader.cs (6322, 2016-06-29)
src\Compilers\Compilers.Common\SourceSpan.cs (1814, 2016-06-29)
... ...

VBF ======== VBF is a set of tools/libraries for compilers. It has seperated libraries for scanners and parsers. One can easily use one component as well as use them all together. #### How to build: 1. Install Visual Studio 2015 with .Net Framework 4.5 2. Open Options dialog, go to "Package Manager" and then check "Allow NuGet to download missing packages during build" 3. Open Project VBF/src/Compilers/Compilers.sln 4. Build 5. Binaries will be placed in VBF/bin folder 6. Note that by default, all the binaries are delay signed. You can either disable code signing or use 'sn -Vr' command to bypass assembly validation and then test the binaries. #### Components: * VBF.Compilers.Common Provides source file reader, compilation error manager, etc * VBF.Compilers.Scanners Provides DFA based scanner builder using regular expressions. There're multiple types of scanners to choose: a standard Scanner, a PeekableScanner with the capability to peek n tokens, a ForkableScanner that can fork to multiple scanner heads. * VBF.Compilers.Parsers Provides powerful GLR based, auto error recovery parser generator. To start, inherit ParserBase class and build your own parser. It is recommended for most parsers. * VBF.Compilers.Parsers.Combinators Similar to Compilers.Parsers but it's an GLL based parser combinator library. The grammar supported by this library is relatively less powerfull compared to VBF.Compilers.Parsers, and it also parses slower. It is mainly used to study LL grammars. #### Samples: * MiniSharp: VBF\src\Samples\MiniSharp MiniSharp is a fully functional compiler of a very small subset of C# language. It contains parsers and scanners built with VBF and an MSIL code generator. It is a good sample for programming language and DSL authors. * For additional sample, please refer to NotBasic project: https://github.com/Ninputer/notbasic #### License All components and samples of this software are distributed under Apache License 2.0 You can find a copy of license under the root directory #### Other information * Chinese blog: http://ninputer.cnblogs.com/ * Chinese Weibo: http://weibo.com/ninputer

近期下载者

相关文件


收藏者