cpp-peglib icon indicating copy to clipboard operation
cpp-peglib copied to clipboard

A single file C++ header-only PEG (Parsing Expression Grammars) library

Results 17 cpp-peglib issues
Sort by recently updated
recently updated
newest added

https://github.com/yhirose/cpp-peglib#symbol-table

This is not a defect report, just a request for guidance. I'm looking to add nested comments, and I'd like to be able to take the input: ``` /* line...

https://medium.com/@gvanrossum_83706/left-recursive-peg-grammars-65dab3c580e1

enhancement

I have a grammar for a programming language. It defines %whitespace, because whitespaces are not significant. Now, I want to parse string literals with a rule like this: ``` StrQuot

information

I am observing some inconsistent behaviour with the following grammar. Both the working and non working version are provided below. Working version ```c++ #include #include #include #include #include #include using...

On Ubuntu 18.04 64 bits when running `test-main` I'm getting a segfault and valgrind report several problems like: ``` ==24805== Memcheck, a memory error detector ==24805== Copyright (C) 2002-2022, and...

need more information to verify

Hi! Thanks a lot for the amazing library, it's working really well for me :) But I have a question though - if I wanted to return an `enum class`...

enhancement

Hi! I am so happy with cpp-peglib that I thought more people should hear about it. https://berthub.eu/articles/posts/practical-peg-parsing/ has the post, and I hope I got it all right. It is...

information

Consider the following which declares an enum grammar that wants to enforce a minimum requirement on the number of members. This works, ``` Enums Connection->member->state: unexpected ';', expecting '}' ```...

enhancement