I have a sample text line, "FunTest\n", that I am trying to parse with sprache. I have written some sample code, see below, but it fails with an excep ...
I have a sample text line, "FunTest\n", that I am trying to parse with sprache. I have written some sample code, see below, but it fails with an excep ...
I am trying to use sprache to parse the string accept-version:V1.2 so that I extract there 2 strings out of it: accept-version and V1.2 But I get a ...
I came across the following piece of code in the Sprache repository : I see a contradiction here: the from clause docs say the source (Parse.WhiteS ...
I have some source code files where I would like to extract all the comments (C-style) and search them for a specific construct that I can then use in ...
I am using Sprache to parse a legacy file. The file has the following structure very similar to a key and value dictionary: I am able to process t ...
I'm using Sprache to parse a section of a file that looks like this: All three lines are mandatory but they can appear in any order. I have parsers ...
I'm trying to parse a string that contains text interspersed with stars: var input = "*This is the first part*This is the second part"; I want to ex ...
I have Sprache set up to parse an Equation that has a number of different possible method calls in it. After it resolves the method, is there a way to ...
I'm attempting to write a parser in Sprache that will parse a phrase The basic rule is that it should include words seperated by a single space, with ...
I'm trying to write some code to match strings based on a pattern: pattern: "dog and (cat or goat)" test string: "doggoat" result: true test strin ...
I am building a Sprache parser to parse expressions similar to SQL search conditions. e.g Property = 123 or Property > AnotherProperty So far both ...
I want to match strings where the first character is a letter, then it is followed by multiple characters which are either digits or letters, then fin ...
I'm trying to parse an array of items, using Sprache library for C# I have a working code that goes like this. where "Literal" is a parser for numb ...
I'm using 'Token()' method to discard leading and trailing whitespaces but it won't, this test fails with message Expected string to be "token", but i ...
I'm using the Sprache library, which allows parsers to be built using LINQ. However, sometimes I need to parse something and then discard the result. ...
I'm trying to write a small parser using the Sprache parser combinator library. The parser should be able to parse lines ended with a single \ as insi ...
As you may already guess, I need some help. I'm currently working on a WPF with a friend, but we have a problem: We need to parse a certain type of te ...
I'm trying to create a Sprache parser where a part of the input should be parsed into a dictionary The and=a;list=of;arbitrary=key;value=pairs part ...
I am building a simple command-style grammar using Sprache. I am trying to find out if there's a way to get better error reporting when missing a clos ...
I am writing a parser that conforms to System for Cross-domain Identity Management: Protocol Filtering spec. I was able to parse almost any expression ...