# PEG (parsing expression grammars)

**URL:** <https://discourse.julialang.org/t/peg-parsing-expression-grammars/34040>\
**Category:** Community\
**Tags:** package, regex\
**Created:** [January 31, 2020, 5:31pm UTC](https://discourse.julialang.org/t/peg-parsing-expression-grammars/34040 "2020-01-31T17:31:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HugoTrentesaux](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hugotrentesaux/32/12583_2.png) [@HugoTrentesaux](https://discourse.julialang.org/u/HugoTrentesaux)\
**Post date:** [January 31, 2020, 5:31pm UTC](https://discourse.julialang.org/t/peg-parsing-expression-grammars/34040/1 "2020-01-31T17:31:02Z")

</div>

I recently came to PEG through [https://pest.rs/](https://pest.rs/) and wondered if Julia had this kind of packages. I came across this topic : [ANN: Automa.jl - a package to compile regular expressions to Julia](https://discourse.julialang.org/t/ann-automa-jl-a-package-to-compile-regular-expressions-to-julia/1586) which gives some insights of it, but I thought it would be better to open a dedicated thread.

```julia
- https://github.com/vonDonnerstein/StringParserPEG.jl
- (outdated) https://github.com/wdebeaum/PEG.jl
- https://github.com/andrewcooke/ParserCombinator.jl
- (outdated) https://github.com/abeschneider/PEGParser.jl

```

seem to have addressed this issue. Do you know other projects ?

(I’m new to this forum, so I can not post more than two links)

---

<div class="post-metadata">

**Author:** ![JeffreySarnoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeffreysarnoff/32/1980_2.png) [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Post date:** [January 31, 2020, 8:00pm UTC](https://discourse.julialang.org/t/peg-parsing-expression-grammars/34040/2 "2020-01-31T20:00:42Z")

</div>

The second one you list is not current. Look to the first and third.

For a very old (no longer working) take: [https://github.com/abeschneider/PEGParser.jl](https://github.com/abeschneider/PEGParser.jl)
