3 releases

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

#85 in Parser tooling

Download history 169/week @ 2025-01-03

175 downloads per month
Used in 3 crates (via cmtir)

MIT/Apache

58KB
2K 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

~5–12MB
~110K SLoC