• balsoft ( balsoft@lemmy.ml ) 
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I can’t go back to parsers with grammar definitions after using parser combinators; it just feels so unelegant and verbose. I guess Rust doesn’t have monadic syntax sugar like more functional languages, so it makes parsers in Nom a bit more ugly than Parsec, but I still prefer it.