VOOZH about

URL: https://www.nuget.org/packages/YaccLexTools.Gplex/

⇱ NuGet Gallery | YaccLexTools.Gplex 1.2.3.1




👁 Image
YaccLexTools.Gplex 1.2.3.1

dotnet add package YaccLexTools.Gplex --version 1.2.3.1
 
 
NuGet\Install-Package YaccLexTools.Gplex -Version 1.2.3.1
 
 
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.Gplex" Version="1.2.3.1" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="YaccLexTools.Gplex" Version="1.2.3.1" />
 
Directory.Packages.props
<PackageReference Include="YaccLexTools.Gplex" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add YaccLexTools.Gplex --version 1.2.3.1
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: YaccLexTools.Gplex, 1.2.3.1"
 
 
#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.
#:package YaccLexTools.Gplex@1.2.3.1
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=YaccLexTools.Gplex&version=1.2.3.1
 
Install as a Cake Addin
#tool nuget:?package=YaccLexTools.Gplex&version=1.2.3.1
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Project Description

GPLEX is a scanner generator which produces lexical scanners written in C# V2 or higher. The input language is similar to the original LEX specification language, but allows full 21-bit Unicode scanners to be specified.

This repository now includes the full documentation for the scanner-generator.

Features

GPLEX generates scanners based around finite state automata. The generated automata have the number of states minimized by default, and have a large number of options for table compression. The default compression scheme is chosen depending on the input alphabet cardinality, and almost always gives a reasonable result. However a large number of options are available for the user to tune the behavior if necessary.

The tool implements many of the FLEX extensions, including such things as start-state stacks.

The generated scanners are designed to interface cleanly with bottom-up parsers generated by Gardens Point Parser Generator. However, gplex-generated scanners have been successfully used with both handwritten parsers and with parsers generated by COCO/R.

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 the companion GPPG tool each themselves use scanners and parsers generated by GPLEX and GPPG. The examples described in the documentation for GPPG and GPLEX have now been added to the distribution as file GP-Examples.zip.

There is a separate documentation file that deals with the special issues that arise with scanners that use the Unicode character set.

Is GPLEX What You Need?

GPLEX is a scanner generator. It is intended to be used to generate scanners for compilers or other tools that process text. It picks out non-overlapping substrings from within a continuing input stream, and returns an integer token identification. It may also be used for other simple regular expression recognition tasks, but is not a replacement for the System.Text.RegularExpressions classes. It does not have built-in mechanisms for multiple substring capture or anything similar.

GPLEX has historically had an approximately 2-per-year release cycle. If there is some feature that fits within the broad intention of the tool and which you feel is missing ... raise an issue. If what you really want is a C# version of AWK then GPLEX isn't it, and the copyright notice explains the conditions under which you may use code of GPLEX to help you implement AWK.NET yourself.

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

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on YaccLexTools.Gplex:

Package Downloads
YaccLexTools

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

OpenLanguage

A C# library providing lexers, parsers, and other processing tools for Open Office XML DSLs.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.3.1 14,560 12/31/2024
1.2.2.4 44,716 11/18/2023
1.2.2.3 400 11/13/2023
1.2.2.2 1,376 7/9/2023 1.2.2.2 is deprecated because it has critical bugs.
1.2.2.1 19,742 5/3/2022 1.2.2.1 is deprecated because it has critical bugs.