pest
Taskflow
Our great sponsors
pest | Taskflow | |
---|---|---|
42 | 24 | |
4,298 | 9,438 | |
1.7% | 2.1% | |
7.6 | 7.9 | |
7 days ago | 25 days ago | |
Rust | C++ | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
pest
-
nom > regex
And some related parser tools: - https://github.com/kevinmehall/rust-peg - https://github.com/pest-parser/pest - https://github.com/lalrpop/lalrpop
-
Jasmine, A rust-like programming language that compiles to Java
I had recently completed the first year of my Computer Science class at school and will begin my second year soon. My schools' class forces the use of Java programming language, and I absolutely hated it. So, over the course of a little less than a month, I wrote my own programming language, in Rust (objectively best programming language), using pest, to be as similar to Rust as possible, but compiling to Java.
-
What is the state of the art for creating domain-specific languages (DSLs) with Rust?
I second pest.rs. Using it is fairly intuitive and there's also a live playground on their website which is great for quickly developing and testing your AST (abstract syntax tree) parser for whatever language you're implementing.
I’ve been using pest for my own dsl resently. Couldn’t say if it’s state of the art or not, but it is definitely useful. https://pest.rs
-
easy way to produce a parser
Give https://pest.rs a try.
- Is there a parsing library (lexer?) which can handle generic tokens?
-
Thoughts on reimplementing an old MIDI scripting language in rust.
Maybe Pest or Nom for parsing the language.
-
Template Engine with Rust and Regex?
I haven't written any template engines, but I imagine you'd want to use a proper parser generator like nom, pest, etc. to get the statefulness you need. As the famous StackOverflow answer says, you can't parse a non-regular language with a regular expression... or at least not the kind of "no lookahead/lookbehind" regex engine Rust uses.
-
How to read binary files from the end in Rust?
But personally I would recommend something like Pest (which is still fairly popular). (Creates)
-
Advice for a web app with 3d rendering
This was in C, and there it's a pointer arithmetic nightmare. Also, this was before I had any education in writing parsers. These days I'd probably just use a parser generator like pest.
Taskflow
-
gcl v1.1 released - Graph Concurrent Library for C++
Cool. Thanks! How does it compare to taskflow?
-
std::execution from the metal up - Paul Bendixen - Meeting C++ 2022
I've not seen yet, but it's been a bit since I looked last, any evidence of being able to build a computation graph and "save" it to re-run on new inputs. Something like https://github.com/taskflow/taskflow
-
That one technology, question, or skill you never learned, and now you are haunted by during every new job conversation...
- https://github.com/taskflow/taskflow (I recommend to learn it first since its API and documentation are excellent)
-
Parallel Computations in C++: Where Do I Begin?
If you want some sort of "job" system, where you submit items to a some sort of queue to be processed in parallel, try searching for a thread pool - there isn't one in the standard library, but there's about a million implementations online. There are more complicated versions of that idea, that describe computation as a directed acyclic graph, such as taskflow.
-
High level overview of my custom game engine
The tooling decisions affect engine design though. For example if you want to have visual representation of job graph as it happened in specific frame of interest you need to pass the information around about job relationships and output it to a tool of choice. For example see https://github.com/taskflow/taskflow
-
Is there any good reason not to build an open-source C++ project on Intels oneTBB?
I am aware of DAGs of task based threading library like Taskflow and HPX however the benefit they have is not obvious to me, as the following sequential section depends on the parallel part being completed fully. If you want to suggest elaboration on the benefits of this approach would be welcome.
- Airflow's Problem
-
A vision of a multi-threaded Emacs
Users should work with higher level primitives like tasks, parallel loops, asynchronous functions etc. Think TBB, Thrust, Taskflow, lparallel for CL, etc.
-
Taskflow VS MTL - a user suggested alternative
2 projects | 28 Feb 2022
-
Libraries
taskflow
What are some alternatives?
nom - Rust parser combinator framework
lalrpop - LR(1) parser generator for Rust
rust-peg - Parsing Expression Grammar (PEG) parser generator for Rust
tbb - oneAPI Threading Building Blocks (oneTBB) [Moved to: https://github.com/oneapi-src/oneTBB]
tensorflow - An Open Source Machine Learning Framework for Everyone
C++ Actor Framework - An Open Source Implementation of the Actor Model in C++
HPX - The C++ Standard Library for Parallelism and Concurrency
entt - Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more
libunifex - Unified Executors
oneTBB - oneAPI Threading Building Blocks (oneTBB)
pom - PEG parser combinators using operator overloading without macros.
moodycamel - A fast multi-producer, multi-consumer lock-free concurrent queue for C++11