3 releases

0.1.2 Jan 9, 2025
0.1.1 Jan 9, 2025
0.1.0 Jan 9, 2025

#369 in Parser tooling

Download history 189/week @ 2025-01-03 178/week @ 2025-01-10 3/week @ 2025-01-17 1/week @ 2025-01-31

371 downloads per month
Used in 4 crates (via kir)

MIT/Apache

43KB
1K SLoC

KIR

KIR is extracted from ksim-rs into a standalone crate.

Features

  • Free-style parse-print (#[derive(ParsePrint)])
  • S-expression-style parse-print (#[derive(SExpr)])

TODO

  • Support more Id types, e.g. RuleId, in addition to ValueId.

    One possible implementation is on dyn-dispatch branch, which is not pretty though.

  • Move Type from kir to the irs that use it.

Examples

Dependencies

~240–680KB
~16K SLoC