[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#989330: ITP: golang-github-alecthomas-participle -- parser library for Go (library)



Package: wnpp
Owner: Andrius Merkys <merkys@debian.org>
Severity: wishlist

* Package name    : golang-github-alecthomas-participle
  Version         : 0.3.0
  Upstream Author : Alec Thomas
* URL             : https://github.com/alecthomas/participle
* License         : Expat
  Programming Lang: Golang
  Description     : 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.

golang-github-skeema-mybase is required by skeema, which I am interested
to bringing in Debian. I am intentionally packaging not the newest
upstream release (2.0.0-alpha6 at the moment) as skeema does not seem to
be compatible with them.

Remark: This package is to be maintained with Debian Go Packaging Team at

https://salsa.debian.org/go-team/packages/golang-github-alecthomas-participle


Reply to: