Skip to content

v0.1.0

Choose a tag to compare

@vgnapuga vgnapuga released this 15 Jun 20:08
· 183 commits to main since this release
9f2fd55

meon 0.1.0 — initial release

What is meon

A declarative flat parsing engine for text formats. You describe a grammar
once with define_parser! and get back a full single-pass parser and
per-element find_* standalone iterators. Output is a struct-of-arrays
with u32 byte-offset spans — no AST, no heap allocation for parser state.

Crates

  • meon — engine + runtime macros
  • meon-macros — define_parser! proc-macro
  • meon-md — Markdown reference grammar

Performance (Ryzen 5 5625U, stable)

corpus thrpt (in-cache)
plain 2.49 GiB/s
hot 1.15 GiB/s
heavy 1.02 GiB/s

AVX2 (nightly): up to 4.4 GiB/s on plain text.

Fuzzing

104M iterations, 0 crashes, coverage saturated at cov: 841.