Skip to content

Tags: alecthomas/participle

Tags

v2.1.4

Toggle v2.1.4's commit message
fix: setField() reports position + removes Go field

The rationale here is that this is a userspace parse error, so the Go
field will be confusing/irrelevant.

v2.1.3

Toggle v2.1.3's commit message
fix: add "lexer: " prefix to all errors from the lexer

v2.1.2

Toggle v2.1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(scripts): add GOBIN fallback and support any cwd (#430)

v2.1.1

Toggle v2.1.1's commit message
fix: support embedded union interfaces

v2.1.0

Toggle v2.1.0's commit message
feat: add Position.Add()

Useful for sub-parsers.

v2.0.0

Toggle v2.0.0's commit message
Allow custom types to be used for Pos, EndPos and Token.

Specifically, these fields can now be of any type that is convertible
from the internal Participle types.

v2.0.0-beta.5

Toggle v2.0.0-beta.5's commit message
fix: union elements that were pointers would panic

Fixes #255

v2.0.0-beta.4

Toggle v2.0.0-beta.4's commit message
Simplify error handling.

Expose participle.ParseError and lexer.Error, remove some redundant
functions.

v2.0.0-beta.3

Toggle v2.0.0-beta.3's commit message
Genericise the parser.

`Build(&Grammar{})` becomes `Build[Grammar]()` and
`err = parser.Parse(filename, &grammar)` becomes
`grammar, err := parser.Parse(filename)`.

v2.0.0-beta.2

Toggle v2.0.0-beta.2's commit message
Genericise the parser.

`Build(&Grammar{})` becomes `Build[Grammar]()` and
`err = parser.Parse(filename, &grammar)` becomes
`grammar, err := parser.Parse(filename)`.