#pegtl — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #pegtl, aggregated by home.social.
-
I just squashed the last obvious bug in my C++20 PEGTL 4 based expression parser. I just put it on Codeberg:
https://Codeberg.org/brouhaha/pegtl-expression
It's more of an example than a useful program. It's conceptually similar to the PEGTL expression.cpp example, but I wanted to generate a parse tree, and use transformation rules to rearrange it into an AST.
The git repo as provided builds with SCons, but you don't need that. There's only one C++20 source file, src/expression.cc.
#CPlusPlus #PEGTL -
I just squashed the last obvious bug in my C++20 PEGTL 4 based expression parser. I just put it on Codeberg:
https://Codeberg.org/brouhaha/pegtl-expression
It's more of an example than a useful program. It's conceptually similar to the PEGTL expression.cpp example, but I wanted to generate a parse tree, and use transformation rules to rearrange it into an AST.
The git repo as provided builds with SCons, but you don't need that. There's only one C++20 source file, src/expression.cc.
#CPlusPlus #PEGTL -
I just squashed the last obvious bug in my C++20 PEGTL 4 based expression parser. I just put it on Codeberg:
https://Codeberg.org/brouhaha/pegtl-expression
It's more of an example than a useful program. It's conceptually similar to the PEGTL expression.cpp example, but I wanted to generate a parse tree, and use transformation rules to rearrange it into an AST.
The git repo as provided builds with SCons, but you don't need that. There's only one C++20 source file, src/expression.cc.
#CPlusPlus #PEGTL -
I just squashed the last obvious bug in my C++20 PEGTL 4 based expression parser. I just put it on Codeberg:
https://Codeberg.org/brouhaha/pegtl-expression
It's more of an example than a useful program. It's conceptually similar to the PEGTL expression.cpp example, but I wanted to generate a parse tree, and use transformation rules to rearrange it into an AST.
The git repo as provided builds with SCons, but you don't need that. There's only one C++20 source file, src/expression.cc.
#CPlusPlus #PEGTL -
I just squashed the last obvious bug in my C++20 PEGTL 4 based expression parser. I just put it on Codeberg:
https://Codeberg.org/brouhaha/pegtl-expression
It's more of an example than a useful program. It's conceptually similar to the PEGTL expression.cpp example, but I wanted to generate a parse tree, and use transformation rules to rearrange it into an AST.
The git repo as provided builds with SCons, but you don't need that. There's only one C++20 source file, src/expression.cc.
#CPlusPlus #PEGTL