participle
A parser library for Go
File Explorer
Download Latest Version (.zip)- ci.yml
- release.yml
- FUNDING.yml
- ast.go
- eval.go
- example.bas
- hidden.bas
- main.go
- main_test.go
- main.go
- main_test.go
- main.go
- main_test.go
- main.go
- main_test.go
- main.go
- main_test.go
- main.go
- main_test.go
- main.go
- example.graphql
- main.go
- main_test.go
- example.hcl
- main.go
- main_test.go
- example.ini
- main.go
- main_test.go
- main.go
- main_test.go
- test.json
- github-webhook.json
- main.go
- main_test.go
- main.go
- main_test.go
- main.go
- main_test.go
- example.proto
- main.go
- main_test.go
- main.go
- main_test.go
- main.go
- main_test.go
- main.go
- main_test.go
- lexer_gen.go
- main.go
- main_test.go
- example.toml
- main.go
- main_test.go
- go.mod
- go.sum
- .go-1.26.3.pkg
- .golangci-lint-2.12.2.pkg
- .goreleaser-1.26.2.pkg
- activate-hermit
- go
- gofmt
- golangci-lint
- goreleaser
- hermit
- hermit.hcl
- README.hermit.md
- codegen.go.tmpl
- gen_lexer_cmd.go
- go.mod
- go.sum
- main.go
- railroad-diagrams.css
- railroad-diagrams.js
- main.go
- ebnf.go
- ebnf_test.go
- conformance_codegen_test.go
- conformance_test.go
- basiclexer.go
- basiclexer.json
- api.go
- doc.go
- errors.go
- peek.go
- peek_test.go
- simple.go
- stateful.go
- stateful_test.go
- text_scanner.go
- text_scanner_test.go
- participle
- regen-lexer
- .golangci.yml
- .goreleaser.yml
- api.go
- CHANGES.md
- context.go
- COPYING
- doc.go
- ebnf.go
- ebnf_test.go
- error.go
- error_test.go
- go.mod
- go.sum
- grammar.go
- grammar_test.go
- lookahead_test.go
- map.go
- map_test.go
- nodes.go
- options.go
- parser.go
- parser_test.go
- railroad.png
- README.md
- renovate.json5
- struct.go
- struct_test.go
- TUTORIAL.md
- validate.go
- validate_test.go
- visit.go
π Installation Guide
1. Get the code
git clone https://github.com/alecthomas/participle
Downloads the entire project code from GitHub to your computer.
cd participle
Moves into the project folder you just downloaded.
2. Go
Medium RecommendedPrerequisites
cd _examples
This project's files live in a subfolder, so move into it first.
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
// repository documentation
Was this content helpful?
(0 ratings)
