#parser #newlines #parsy

parsy

An easy-to-use, efficient parser combinators library

70 releases (11 breaking)

new 0.12.3 Apr 17, 2025
0.11.0 Apr 13, 2025
0.10.1 Mar 3, 2025
0.9.1 Nov 16, 2024
0.1.0 Mar 29, 2023

#376 in Programming languages

Download history 184/week @ 2025-01-15 55/week @ 2025-01-22 5/week @ 2025-01-29 13/week @ 2025-02-05 2/week @ 2025-02-19 104/week @ 2025-02-26 43/week @ 2025-03-05 9/week @ 2025-03-12 212/week @ 2025-04-09

213 downloads per month

Apache-2.0

79KB
2.5K SLoC

Parsy

A parsing combinator library, originally inspired by chumsky.

It aims to provide a simple yet elegant way to combine small parsers to parse anything from small formats to full-fledged programming languages.

Tutorial still in writing

You can find examples in the examples and tests directories.

You can find a large, real-world example in the ReShell project.

Dependencies

~1.5–2MB
~46K SLoC