Additional Details

Removed target ".NET Core 2.2" because it's affected by security vulnerabilities.

There is a newer version of this package available.
See the version list below for details.
dotnet add package YaccLexTools.Gppg --version
NuGet\Install-Package YaccLexTools.Gppg -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="YaccLexTools.Gppg" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add YaccLexTools.Gppg --version
#r "nuget: YaccLexTools.Gppg,"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install YaccLexTools.Gppg as a Cake Addin
#addin nuget:?package=YaccLexTools.Gppg&version=

// Install YaccLexTools.Gppg as a Cake Tool
#tool nuget:?package=YaccLexTools.Gppg&version=

Project Description

GPPG is a parser generator that produces parsers written in the C# V2 or higher. The input language is YACC-like, and the parsers are LALR(1), with the usual automatic disambiguations. Designed to work with GPLEX.

This repository now has the full documentation for the parser-generator.


GPPG generates bottom-up parsers. The generated parsers recognize languages that are LALR(1), with the traditional yacc disambiguations. There are a number of extensions of the traditional input language that are necessary for correctness of the generated C# output files.

The generated parsers are designed to interface cleanly with scanners generated by Gardens Point LEX. However, gppg-generated scanners have been successfully used with both handwritten scanners and with scanners generated by COCO/R.

A particular feature of the tool is the optional generation of an html report file that allows easy navigation of the finite state automaton that recognizes the viable prefixes of the specified language. This report shows the production items, lookahead symbols and actions for each state of the automaton. It also optionally shows an example of a shortest input, and shortest FSA-path reaching each state. This report file considerably simplifies the diagnosis of grammar conflicts.

Examples Of Use

There are a small number of examples of use included in the download package, and these are fully discussed in the documentation. For a more complex example GPLEX and this companion GPPG tool each themselves use scanners and parsers generated by GPLEX and GPPG. The examples discussed in the GPLEX and GPPG documentation have now been added to the distro as file GP-Examples.zip.


The original version of GPPG was produced by Wayne Kelly at QUT. Further development and ongoing maintainence has been by John Gough.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 is compatible.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 was computed.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 2.2

    • No dependencies.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 2.0

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on YaccLexTools.Gppg:

Package Downloads

This package includes GPPG 1.5.2 and GPLEX 1.2.2 tools for compiling YACC and LEX source files in your C# project.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 969 11/18/2023 170 11/13/2023 708 7/9/2023 15,978 5/3/2022