Skip to content

Commit

Permalink
Add JSON parser example
Browse files Browse the repository at this point in the history
  • Loading branch information
oleiade committed Dec 16, 2023
1 parent 149cebf commit c8967c1
Show file tree
Hide file tree
Showing 4 changed files with 579 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,10 @@ Once you get the hang of it, you'll find that Gomme's parser combinators are int
## Examples

See Gomme in action with these handy examples:
- [Parsing hexadecimal color codes](./examples/hexcolor)
- [Parsing a simple CSV file](./examples/csv)
- [Parsing Redis' RESP protocol](./examples/redis)
- [Parsing hexadecimal color codes](./examples/hexcolor)
- [Parsing JSON](./examples/json)

## Documentation

Expand Down
17 changes: 17 additions & 0 deletions examples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib

# Test binary, built with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Dependency directories (remove the comment below to include it)
# vendor/

examples/redis/testdata
Loading

0 comments on commit c8967c1

Please sign in to comment.