specter
nom
specter | nom | |
---|---|---|
18 | 85 | |
2,479 | 9,020 | |
0.0% | 0.7% | |
0.0 | 7.4 | |
about 1 year ago | 6 days ago | |
Clojure | Rust | |
Apache License 2.0 | MIT License |
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.
specter
-
Rama is a testament to the power of Clojure
> Another example is Specter. Specter is a generically useful library for querying and manipulating data structures
> https://github.com/redplanetlabs/specter/tree/master/src
> MutableCell.Java. 8 years ago
package com.rpl.specter;
-
Why your F# evangelism isn't working
If you are truly interested in understanding my point of view -- a great way to do it would be to learn how to use this Clojure DSL: https://github.com/redplanetlabs/specter
-
Digging into deeply nested sequence in Clojure
For deeply nested data, use specter https://github.com/redplanetlabs/specter
-
Advent of Code inside the REPL
Yes :), I needed a fast dijkstra implementation to solve a puzzle in 2021. A pure clojure implementation was too slow so i built one on top of this https://github.com/redplanetlabs/specter
-
Lisp feature - domain specific language
https://github.com/redplanetlabs/specter (very powerful way to express modifications to nested data)
-
Working with large maps
Don't forget about specter which is efficient and compact due to its DSL.
- How to modify a nested element of a list
- Making a small change to a big data structure in Clojure
-
Nested mapping?
Learn and use specter for nested data manipulation, will take some studying but is a more general solution (https://github.com/redplanetlabs/specter)
-
-🎄- 2021 Day 16 Solutions -🎄-
For part 1, the version (and other things) are attached to the metadata of each sexp, and a Specter recursive path is used to extract all of the versions.
nom
-
Planespotting with Rust: using nom to parse ADS-B messages
Just in case you are not familiar with nom, it is a parser combinator written in Rust. The most basic thing you can do with it is import one of its parsing functions, give it some byte or string input and then get a Result as output with the parsed value and the rest of the input or an error if the parser failed. tag for example is used to recognize literal character/byte sequences.
-
Show HN: Rust nom parsing Starcraft2 Replays into Arrow for Polars data analysis
I may be the only one not familiar, but nom refers to https://github.com/rust-bakery/nom which looks like a pretty handy way to parse binary data in Rust.
-
Is this a good way to free up some memory?
Lots of people use nom for their parsing needs, but that's not the only game in town and there other options.
-
What is the state of the art for creating domain-specific languages (DSLs) with Rust?
As much as I love nom as well as other parser combinator libraries, regex-based parsers, BNF/EBNF-based parsers, etc. I always end up going back to plain old text-based char-by-char scanners.
-
What's everyone working on this week (22/2023)?
I am using nom / nom_locate to build the parser side because I've done a handful of other projects with it, and I plan to use tower-lsp to hook up the language server side.
-
Tokenizing
Look into a parsing library such as https://github.com/rust-bakery/nom
-
Something like pydantic but for just strings?
If we were in /r/learnrust I'd have recommended the nom crate for this.
- Nom: Parser Combinators Library in Rust
-
lua bytecode parser written in rust
Thanks to the flexibility of [nom](https://github.com/rust-bakery/nom), it is very easy to write your own parser in rust, read [this article](https://github.com/metaworm/luac-parser-rs/wiki/Write-custom-luac-parser) to learn how to write a luac parser
-
Should I revisit my choice to use nom?
I've been working on an assembler and right now it uses nom. While nom isn't great for error messages, good error messages will be important for this particular assembler (current code), so I've been attempting to use the methods described by Eyal Kalderon in Error recovery with parser combinators (using nom).
What are some alternatives?
meander - Tools for transparent data transformation
pest - The Elegant Parser
malli - High-performance data-driven data specification library for Clojure/Script.
lalrpop - LR(1) parser generator for Rust
clojure-graph-resources - A curated list of Clojure resources for dealing with graph-like data.
combine - A parser combinator library for Rust
crux - General purpose bitemporal database for SQL, Datalog & graph queries. Backed by @juxt [Moved to: https://github.com/xtdb/xtdb]
pom - PEG parser combinators using operator overloading without macros.
schema - Clojure(Script) library for declarative data description and validation
rust-peg - Parsing Expression Grammar (PEG) parser generator for Rust
fulcro - A library for development of single-page full-stack web applications in clj/cljs
chumsky - Write expressive, high-performance parsers with ease.