https://github.com/tizee/zig-parser-combinator
A parser-combinator library in Zig
https://github.com/tizee/zig-parser-combinator
parser-combinator zig
Last synced: 2 months ago
JSON representation
A parser-combinator library in Zig
- Host: GitHub
- URL: https://github.com/tizee/zig-parser-combinator
- Owner: tizee
- License: apache-2.0
- Created: 2022-07-29T15:24:20.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-04T14:32:42.000Z (over 2 years ago)
- Last Synced: 2024-10-24T16:50:26.805Z (6 months ago)
- Topics: parser-combinator, zig
- Language: Zig
- Homepage:
- Size: 34.2 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# parser-combinator-zig
A simple Zig parser combinator library.
```shell
$ zig version
0.10.0-dev.3340+c6f5832bb
```## Examples
- An simple Emmet parser
```
zig build emmet
./example/emmet "div.root>ul>list>li.5"
```## Acknowledgment
This project was inspired from following projects:
- https://github.com/haskell/parsec
- https://github.com/Geal/nom
- https://github.com/yetone/parsec.js
- https://github.com/longlongh4/demo_parser_combinator