An open API service indexing awesome lists of open source software.

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

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