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

https://github.com/vibraphone/pegtl-first-steps

Some simple examples demonstrating PEGTL
https://github.com/vibraphone/pegtl-first-steps

parser-library tutorial-code

Last synced: 9 months ago
JSON representation

Some simple examples demonstrating PEGTL

Awesome Lists containing this project

README

          

# A Simple Introduction to PEGTL

This small set of examples is even more
simple than those which come with PEGTL.

```sh
git submodule update --init --recursive
mkdir build
(cd build; cmake -G Ninja ..; ninja)
./build/ex1 "{}"
./build/ex1 "{ }"
./build/ex2 "{a}"
./build/ex2 "{{}"
./build/ex3 "{___}"
```