|over 2 years ago||10 days ago|
|-||Boost Software License 1.0|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
We haven't tracked posts mentioning Learn Project yet.
Tracking mentions began in Dec 2020.
We Built a C++ Rendering Engine for the Web
2 projects | news.ycombinator.com | 10 Jul 2021
As a professional C++ programmer I feel a lot of the reasons C++ gets this response is because it's simply not "batteries included" like Go or Rust.
C++ is a very powerful, unopinionated language, that gives you a lot of freedom to attack your problem domain the way you best see fit.
If you're writing a networked application, don't use POSIX sockets, go and find a higher level library. If you're parsing complex text formats, don't iterate over buffers with char*'s, go pick up PEGTL. If you're working on graphs, or need to properly index in-memory data, go pick up Boost. If you need a GUI, go pick up Qt.
It's extremely common in C++, due to the lack of a universal package management solution, for people to try and "muddle through" and do shit themselves when it's far outside their core competency.
At one of my last employers, the core product was parsing JSON with std::regex, simply because they couldn't be bothered to integrate a JSON library.
Is there anything like sly for C++?
3 projects | reddit.com/r/cpp | 1 Jul 2021
You are looking for Boost.Spirit (https://www.boost.org/doc/libs/1_76_0/libs/spirit/doc/x3/html/index.html) or PEGTL (https://github.com/taocpp/PEGTL)
Why no more Lex/Yakk/ANTLR/whatever?
5 projects | reddit.com/r/cpp | 20 Jun 2021
I personally prefer to use parsing combinator libraries in C++, where the "grammar" is just part of normal C++ and directly integrate. Examples are Boost.Spirit, pegtl, or (my own) lexy.
Rust's Most Unrecognized Contributor
1 project | reddit.com/r/rust | 2 May 2021
Wondered if anyone is interested in a c++ parser combinators library?
1 project | reddit.com/r/cpp | 13 Apr 2021
While I'm not quite sure how this might transfer to your approach, with your Haskell-inspired style being quite different from our C++ templates, in the PEGTL our equivalent to your Char, which is called one, is variadic (true to the T in PEGTL a variadic template) and takes a list of possible matches.
A hand-written recursive descent parser for Lua 5.3, in Lua 5.3!
2 projects | reddit.com/r/lua | 6 Apr 2021
In case you are still fighting with left-recursion you might be interested in this: https://github.com/taocpp/PEGTL/blob/master/src/example/pegtl/lua53.hpp
Ditch regex for parser combinators, a Rust / nom step-by-step guide
5 projects | reddit.com/r/programming | 30 Mar 2021
I've found https://github.com/taocpp/PEGTL to be easier to use than boost parser generators.
What are some alternatives?
lexy - C++ parsing DSL
C++ B-tree - Git mirror of the official (mercurial) repository of cpp-btree
pybind11 - Seamless operability between C++11 and Python
sparsepp - A fast, memory efficient hash map for C++
Optional Argument in C++ - Named Optional Arguments in C++17
Hopscotch map - C++ implementation of a fast hash map and hash set using hopscotch hashing
lalrpop - LR(1) parser generator for Rust
sparsehash - C++ associative containers
spirit - Boost.org spirit module
semver - Semantic Versioning for modern C++
cpp-peglib - A single file C++ header-only PEG (Parsing Expression Grammars) library