Glare is intended to collect and refine its author's experience with metaprogramming into a practical, FOSS toolkit.
The Glare parser is a parser combinator library implemented as a GLR. The implementation handles left recursion with no effort from the grammar author. Grammar ambiguity is handled by returning all possible matches.
- Platform
- .NET Core 2.1
- Environment
- Generally developed using the JetBrains Rider IDE on Linux/Mac (but other than CI, should build anywhere)
- CI build is provided by Travis CI
- Verification
- Unit tests are structured for xUnit.net and asserted using Fluent Assertions
- Code coverage is recorded using coverlet
- ReportGenerator visualizes coverage for local workflows
- CI build coverage is reported to Coveralls using coveralls.net
To generate the coverage report:
cd dotnet
dotnet msbuild -t:Coverage
open GlareParserTests/bin/Debug/coverage/report/index.htm