Alle Optionen
bookworm  ] [  sid  ]
[ Quellcode: golang-github-alecthomas-participle  ]

Paket: golang-github-alecthomas-participle-dev (0.7.1-2)

Links für golang-github-alecthomas-participle-dev

Screenshot

Debian-Ressourcen:

Quellcode-Paket golang-github-alecthomas-participle herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

parser library for Go (library)

The goal of this package is to provide a simple, idiomatic and elegant way of defining parsers in Go.

Participle's method of defining grammars should be familiar to any Go programmer who has used the encoding/json package: struct field tags define what and how input is mapped to those same fields. This is not unusual for Go encoders, but is unusual for a parser.

Participle parsers are LL(k). Among other things, this means that they do not support left recursion.

The default value of K is 1 but this can be controlled with participle.UseLookahead(k).

Left recursion must be eliminated by restructuring your grammar.

Andere Pakete mit Bezug zu golang-github-alecthomas-participle-dev

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

golang-github-alecthomas-participle-dev herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 53,6 kB291,0 kB [Liste der Dateien]