What is Farkle?

Farkle is a text parser library for .NET, featuring the best of both worlds: LALR parser combinators. Users define the terminals and nonterminals of their grammars, what to do when each of them is encountered, and Farkle takes care of the rest.

The Farkle library can be installed from NuGet:

dotnet add package Farkle


Learn more about Farkle's features, compared with other .NET parsers.


The library comes with comprehensible documentation.


Contributing and copyright

The project is hosted on GitHub where you can report issues, fork the project and submit pull requests.

The library is available under the MIT license, which allows modification and redistribution for both commercial and non-commercial purposes. For more information see the License file in the GitHub repository.