Skip to content
#

parser-combinators

Here are 424 public repositories matching this topic...

nathan-at-least
nathan-at-least commented Apr 21, 2022

The Display impl for Simple shows raw output and expectations, which is awkward for whitespace, such as '\n':

Example:

use chumsky::primitive::{end, just};
use chumsky::Parser;

type Error = chumsky::error::Simple<char>;

fn main() {
    match parser().then_ignore(end()).parse("\nblah") {
        Ok(_) => panic!("Should not happen."),
        Err(es) => {
            for e 
enhancement good first issue

Improve this page

Add a description, image, and links to the parser-combinators topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the parser-combinators topic, visit your repo's landing page and select "manage topics."

Learn more