kir-macros

Crates.iokir-macros
lib.rskir-macros
version0.1.2
created_at2025-01-09 11:22:14.707984+00
updated_at2025-01-09 12:26:15.384554+00
descriptionThe macros for kir.
homepage
repositoryhttps://github.com/arch-of-shadow/kir
max_upload_size
id1509820
size45,197
Youwei Xiao (uv-xiao)

documentation

README

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

Commit count: 40

cargo fmt