parlot icon indicating copy to clipboard operation
parlot copied to clipboard

Fast and lightweight parser creation tools

Results 24 parlot issues
Sort by recently updated
recently updated
newest added

This PR removes the `ref` modifier on `ParseResult` that seems to be unused and unnecessarily could post restrictions on usage. Its removal does not seem to have any bearing on...

Vulnerable Library - Parlot.Tests-1.0.0 Path to dependency file: /test/Parlot.Benchmarks/Parlot.Benchmarks.csproj Path to vulnerable library: /home/wss-scanner/.nuget/packages/system.net.http/4.3.0/system.net.http.4.3.0.nupkg Found in HEAD commit: e945eb0229da9fcc3a3cba17badd9de6428406a5 ## Vulnerabilities | CVE | Severity | CVSS | Dependency |...

Mend: dependency security vulnerability

Vulnerable Library - coverlet.collector.6.0.0.nupkg Coverlet is a cross platform code coverage library for .NET, with support for line, branch and method coverage. Library home page: https://api.nuget.org/packages/coverlet.collector.6.0.0.nupkg Path to dependency file:...

Mend: dependency security vulnerability

@sebastienros is there any cycle detection mechanism in parlot? example code which will break your app: ``` var loop = Deferred(); loop.Parser = loop; var test = loop.Parse("hello parlot"); ```...

Opening an issue as per the recommendation [here](https://github.com/sebastienros/parlot/issues/71#issuecomment-1069198507) The idea would be to add a `max` argument to any `Many` method to provide an upper bound on matches. Suggested: ```csharp...

RemoveEmptyEntries to skip successive separators Accept separator at beginning and end (trailing).

enhancement

These changes allow you to specify all valid characters for an identifier, not just extra characters. ```cs var myIdentifier = new Identifier( isStart: c => c == '_' || char.IsLetter(c),...

Say I do this: ``` var booleanDelimiter = OneOf(Terms.Text("and"), Terms.Text("or")); ``` Then I use that parser as the delimiter for a `Separated` parser: ``` Separated(booleanDelimeter, filterClause).Then(v => // config my...

This PR is dependent on #35 . It basically allows for typed buffer. Along with some textspan (renamed to bufferspan) improvements, it allows to use byte instead of char, opening...

I have a project that I am considering moving from [Sprache](https://github.com/sprache/Sprache) to Parlot, but even after looking through the available [parser combinators](https://github.com/sebastienros/parlot/blob/main/docs/parsers.md) there are a few instances where similar functionality...