├── .editorconfig ├── .github └── workflows │ └── d.yaml ├── .gitignore ├── .gitmodules ├── .travis.yml ├── README.md ├── appveyor.yml ├── ci.bat ├── ci.sh ├── debian ├── changelog ├── compat ├── control ├── copyright ├── install └── rules ├── dub.json ├── examples ├── DConf2017 │ ├── README.md │ ├── arithmetic.d │ ├── left_recursion_naive.d │ ├── left_recursion_proper.d │ └── recursion.d ├── PEG │ ├── dub.json │ └── src │ │ └── pegged │ │ └── examples │ │ └── PEG.d ├── README.md ├── arithmetic │ ├── dub.json │ └── src │ │ └── pegged │ │ └── examples │ │ └── arithmetic.d ├── c │ ├── dub.json │ └── src │ │ └── pegged │ │ └── examples │ │ └── c.d ├── composition │ ├── dub.json │ └── src │ │ └── pegged │ │ └── examples │ │ └── composition.d ├── csv │ ├── dub.json │ └── src │ │ └── pegged │ │ └── examples │ │ └── csv.d ├── dgrammar │ ├── dub.json │ └── src │ │ └── pegged │ │ └── examples │ │ └── dgrammar.d ├── extended_pascal │ ├── .gitattributes │ ├── .gitignore │ ├── README.md │ ├── dub.json │ ├── example.pas │ ├── output │ │ ├── TraceLog.txt │ │ ├── example.html │ │ └── example.txt │ ├── runtests.d │ └── source │ │ ├── app.d │ │ ├── epgrammar.d │ │ └── make.d ├── json │ ├── dub.json │ └── src │ │ └── pegged │ │ └── examples │ │ └── json.d ├── markdown │ ├── dub.json │ └── src │ │ └── pegged │ │ └── examples │ │ └── markdown.d ├── misc │ ├── dub.json │ └── src │ │ └── pegged │ │ └── examples │ │ ├── constraints.d │ │ ├── pattern.d │ │ └── testergrammar.d ├── numbers │ ├── dub.json │ └── src │ │ └── pegged │ │ └── examples │ │ └── numbers.d ├── oberon2 │ ├── dub.json │ └── src │ │ └── pegged │ │ └── examples │ │ └── oberon2.d ├── parameterized │ ├── dub.json │ └── src │ │ └── pegged │ │ └── examples │ │ └── parameterized.d ├── peggedgrammar │ ├── dub.json │ └── src │ │ └── pegged │ │ └── examples │ │ └── peggedgrammar.d ├── python │ ├── Makefile │ ├── dub.json │ └── src │ │ └── pegged │ │ └── examples │ │ └── python.d ├── simple_arithmetic │ ├── dub.json │ └── src │ │ └── pegged │ │ └── examples │ │ └── simple_arithmetic.d ├── strings │ ├── dub.json │ └── src │ │ └── pegged │ │ └── examples │ │ └── strings.d └── xml │ ├── dub.json │ └── src │ └── pegged │ └── examples │ ├── xml.d │ └── xml2.d ├── makefile ├── pegged.valgrind ├── pegged ├── dev │ ├── README.md │ ├── TODO.md │ ├── regenerate.d │ └── test.d ├── docs │ ├── README.md │ └── cheatsheet │ │ ├── Makefile │ │ └── cheatsheet.tex ├── dynamic │ ├── README.md │ ├── grammar.d │ └── peg.d ├── grammar.d ├── introspection.d ├── parser.d ├── peg.d ├── performancetest │ └── cursive │ │ ├── generator.d │ │ ├── parser.d │ │ ├── reader.d │ │ └── test.crs ├── test │ └── tester.d ├── tester │ ├── README.md │ ├── grammartester.d │ └── testerparser.d └── tohtml.d ├── scripts └── core-dump.sh └── wscript /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/d.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/.github/workflows/d.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/.gitmodules -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/README.md -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/appveyor.yml -------------------------------------------------------------------------------- /ci.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/ci.bat -------------------------------------------------------------------------------- /ci.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/ci.sh -------------------------------------------------------------------------------- /debian/changelog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/debian/changelog -------------------------------------------------------------------------------- /debian/compat: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /debian/control: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/debian/control -------------------------------------------------------------------------------- /debian/copyright: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/debian/copyright -------------------------------------------------------------------------------- /debian/install: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/debian/install -------------------------------------------------------------------------------- /debian/rules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/debian/rules -------------------------------------------------------------------------------- /dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/dub.json -------------------------------------------------------------------------------- /examples/DConf2017/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/DConf2017/README.md -------------------------------------------------------------------------------- /examples/DConf2017/arithmetic.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/DConf2017/arithmetic.d -------------------------------------------------------------------------------- /examples/DConf2017/left_recursion_naive.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/DConf2017/left_recursion_naive.d -------------------------------------------------------------------------------- /examples/DConf2017/left_recursion_proper.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/DConf2017/left_recursion_proper.d -------------------------------------------------------------------------------- /examples/DConf2017/recursion.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/DConf2017/recursion.d -------------------------------------------------------------------------------- /examples/PEG/dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/PEG/dub.json -------------------------------------------------------------------------------- /examples/PEG/src/pegged/examples/PEG.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/PEG/src/pegged/examples/PEG.d -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/arithmetic/dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/arithmetic/dub.json -------------------------------------------------------------------------------- /examples/arithmetic/src/pegged/examples/arithmetic.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/arithmetic/src/pegged/examples/arithmetic.d -------------------------------------------------------------------------------- /examples/c/dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/c/dub.json -------------------------------------------------------------------------------- /examples/c/src/pegged/examples/c.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/c/src/pegged/examples/c.d -------------------------------------------------------------------------------- /examples/composition/dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/composition/dub.json -------------------------------------------------------------------------------- /examples/composition/src/pegged/examples/composition.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/composition/src/pegged/examples/composition.d -------------------------------------------------------------------------------- /examples/csv/dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/csv/dub.json -------------------------------------------------------------------------------- /examples/csv/src/pegged/examples/csv.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/csv/src/pegged/examples/csv.d -------------------------------------------------------------------------------- /examples/dgrammar/dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/dgrammar/dub.json -------------------------------------------------------------------------------- /examples/dgrammar/src/pegged/examples/dgrammar.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/dgrammar/src/pegged/examples/dgrammar.d -------------------------------------------------------------------------------- /examples/extended_pascal/.gitattributes: -------------------------------------------------------------------------------- 1 | example.pas text eol=lf 2 | -------------------------------------------------------------------------------- /examples/extended_pascal/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/extended_pascal/.gitignore -------------------------------------------------------------------------------- /examples/extended_pascal/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/extended_pascal/README.md -------------------------------------------------------------------------------- /examples/extended_pascal/dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/extended_pascal/dub.json -------------------------------------------------------------------------------- /examples/extended_pascal/example.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/extended_pascal/example.pas -------------------------------------------------------------------------------- /examples/extended_pascal/output/TraceLog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/extended_pascal/output/TraceLog.txt -------------------------------------------------------------------------------- /examples/extended_pascal/output/example.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/extended_pascal/output/example.html -------------------------------------------------------------------------------- /examples/extended_pascal/output/example.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/extended_pascal/output/example.txt -------------------------------------------------------------------------------- /examples/extended_pascal/runtests.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/extended_pascal/runtests.d -------------------------------------------------------------------------------- /examples/extended_pascal/source/app.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/extended_pascal/source/app.d -------------------------------------------------------------------------------- /examples/extended_pascal/source/epgrammar.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/extended_pascal/source/epgrammar.d -------------------------------------------------------------------------------- /examples/extended_pascal/source/make.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/extended_pascal/source/make.d -------------------------------------------------------------------------------- /examples/json/dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/json/dub.json -------------------------------------------------------------------------------- /examples/json/src/pegged/examples/json.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/json/src/pegged/examples/json.d -------------------------------------------------------------------------------- /examples/markdown/dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/markdown/dub.json -------------------------------------------------------------------------------- /examples/markdown/src/pegged/examples/markdown.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/markdown/src/pegged/examples/markdown.d -------------------------------------------------------------------------------- /examples/misc/dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/misc/dub.json -------------------------------------------------------------------------------- /examples/misc/src/pegged/examples/constraints.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/misc/src/pegged/examples/constraints.d -------------------------------------------------------------------------------- /examples/misc/src/pegged/examples/pattern.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/misc/src/pegged/examples/pattern.d -------------------------------------------------------------------------------- /examples/misc/src/pegged/examples/testergrammar.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/misc/src/pegged/examples/testergrammar.d -------------------------------------------------------------------------------- /examples/numbers/dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/numbers/dub.json -------------------------------------------------------------------------------- /examples/numbers/src/pegged/examples/numbers.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/numbers/src/pegged/examples/numbers.d -------------------------------------------------------------------------------- /examples/oberon2/dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/oberon2/dub.json -------------------------------------------------------------------------------- /examples/oberon2/src/pegged/examples/oberon2.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/oberon2/src/pegged/examples/oberon2.d -------------------------------------------------------------------------------- /examples/parameterized/dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/parameterized/dub.json -------------------------------------------------------------------------------- /examples/parameterized/src/pegged/examples/parameterized.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/parameterized/src/pegged/examples/parameterized.d -------------------------------------------------------------------------------- /examples/peggedgrammar/dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/peggedgrammar/dub.json -------------------------------------------------------------------------------- /examples/peggedgrammar/src/pegged/examples/peggedgrammar.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/peggedgrammar/src/pegged/examples/peggedgrammar.d -------------------------------------------------------------------------------- /examples/python/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/python/Makefile -------------------------------------------------------------------------------- /examples/python/dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/python/dub.json -------------------------------------------------------------------------------- /examples/python/src/pegged/examples/python.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/python/src/pegged/examples/python.d -------------------------------------------------------------------------------- /examples/simple_arithmetic/dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/simple_arithmetic/dub.json -------------------------------------------------------------------------------- /examples/simple_arithmetic/src/pegged/examples/simple_arithmetic.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/simple_arithmetic/src/pegged/examples/simple_arithmetic.d -------------------------------------------------------------------------------- /examples/strings/dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/strings/dub.json -------------------------------------------------------------------------------- /examples/strings/src/pegged/examples/strings.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/strings/src/pegged/examples/strings.d -------------------------------------------------------------------------------- /examples/xml/dub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/xml/dub.json -------------------------------------------------------------------------------- /examples/xml/src/pegged/examples/xml.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/xml/src/pegged/examples/xml.d -------------------------------------------------------------------------------- /examples/xml/src/pegged/examples/xml2.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/examples/xml/src/pegged/examples/xml2.d -------------------------------------------------------------------------------- /makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/makefile -------------------------------------------------------------------------------- /pegged.valgrind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged.valgrind -------------------------------------------------------------------------------- /pegged/dev/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/dev/README.md -------------------------------------------------------------------------------- /pegged/dev/TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/dev/TODO.md -------------------------------------------------------------------------------- /pegged/dev/regenerate.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/dev/regenerate.d -------------------------------------------------------------------------------- /pegged/dev/test.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/dev/test.d -------------------------------------------------------------------------------- /pegged/docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/docs/README.md -------------------------------------------------------------------------------- /pegged/docs/cheatsheet/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/docs/cheatsheet/Makefile -------------------------------------------------------------------------------- /pegged/docs/cheatsheet/cheatsheet.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/docs/cheatsheet/cheatsheet.tex -------------------------------------------------------------------------------- /pegged/dynamic/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/dynamic/README.md -------------------------------------------------------------------------------- /pegged/dynamic/grammar.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/dynamic/grammar.d -------------------------------------------------------------------------------- /pegged/dynamic/peg.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/dynamic/peg.d -------------------------------------------------------------------------------- /pegged/grammar.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/grammar.d -------------------------------------------------------------------------------- /pegged/introspection.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/introspection.d -------------------------------------------------------------------------------- /pegged/parser.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/parser.d -------------------------------------------------------------------------------- /pegged/peg.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/peg.d -------------------------------------------------------------------------------- /pegged/performancetest/cursive/generator.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/performancetest/cursive/generator.d -------------------------------------------------------------------------------- /pegged/performancetest/cursive/parser.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/performancetest/cursive/parser.d -------------------------------------------------------------------------------- /pegged/performancetest/cursive/reader.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/performancetest/cursive/reader.d -------------------------------------------------------------------------------- /pegged/performancetest/cursive/test.crs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/performancetest/cursive/test.crs -------------------------------------------------------------------------------- /pegged/test/tester.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/test/tester.d -------------------------------------------------------------------------------- /pegged/tester/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/tester/README.md -------------------------------------------------------------------------------- /pegged/tester/grammartester.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/tester/grammartester.d -------------------------------------------------------------------------------- /pegged/tester/testerparser.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/tester/testerparser.d -------------------------------------------------------------------------------- /pegged/tohtml.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/pegged/tohtml.d -------------------------------------------------------------------------------- /scripts/core-dump.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/scripts/core-dump.sh -------------------------------------------------------------------------------- /wscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dlang-community/Pegged/HEAD/wscript --------------------------------------------------------------------------------