nom

Rust parser combinator framework (by rust-bakery)

Nom Alternatives

Similar projects and alternatives to nom

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better nom alternative or higher similarity.

nom reviews and mentions

Posts with mentions or reviews of nom. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-28.
  • What's everyone working on this week (22/2023)?
    14 projects | /r/rust | 28 May 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.
  • lua bytecode parser written in rust
    5 projects | /r/rust | 15 Apr 2023
    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?
    6 projects | /r/rust | 2 Apr 2023
    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).
  • winnow = toml_edit + combine + nom
    6 projects | /r/rust | 22 Feb 2023
    On my side, nom is still advancing well and a new major version is in preparation, with some interesting work a new GAT based design inspired from the awesome work on chumsky, that promises to bring great performance with complex error types. 2023 will be fun for parser libraries!
  • Question about lexer and parser generators in Rust
    8 projects | /r/rust | 11 Feb 2023
    Checkout https://github.com/zesterer/chumsky or https://github.com/rust-bakery/nom
  • Writing a parser in Rust
    2 projects | /r/rust | 6 Feb 2023
    I recently did a parsing project - I used the nom crate which is a functional/combinatorial style parser. Here's a really good video about the technique: https://www.youtube.com/watch?v=dDtZLm7HIJs
  • Hey Rustaceans! Got a question? Ask here (2/2023)!
    12 projects | /r/rust | 9 Jan 2023
    The problem is, I don't understand how I can get rid of the .unwrap() in my parse_method and parse_url functions and use the ? operator instead. I have already read https://github.com/rust-bakery/nom/blob/main/doc/error_management.md but absolutely don't understand how to apply it in this case.
  • Parsing TFTP in Rust
    3 projects | /r/rust | 31 Dec 2022
    nom https://crates.io/crates/nom "nom, eating data byte by byte"
  • -🎄- 2022 Day 21 Solutions -🎄-
    124 projects | /r/adventofcode | 20 Dec 2022
    I made a recursive Expr enum to hold all the expressions and then a hashmap of monkey_name to Expr to link them. Initially I had a very clumsy parser for the input, but I want to learn to drive nom. So after everything worked, I came back and rewrote the parser using nom. It's certainly more flexible, but it's more complicated and possibly slower. I managed to grok it mostly now. Makes me yearn for python, though.
  • Parsing in nom (AOC day 16)
    2 projects | /r/learnrust | 16 Dec 2022
    However, during day 16 I've kind of hit a wall and can't seem to find a nice way to parse the input. Unlike in the nom example, take_till seems to only be able to handle functions on bytes, not characters. Additionally, I didn't find a way to use some sort of consuming take_until, which results in a pair(take_until(str), tag(str)) combination. Is there any better way to parse this input?
  • A note from our sponsor - #<SponsorshipServiceOld:0x00007f0921202750>
    www.saashub.com | 10 Jun 2023
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic nom repo stats
81
8,117
3.9
16 days ago

rust-bakery/nom is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of nom is Rust.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com