1 unstable release

0.2.0 Dec 15, 2023

#5 in #lurk


Used in lurk

MIT/Apache

21KB
399 lines

Lurk Macros

Derive macros for Lurk

This crate contains derive macros to manage trait dispatch in Lurk.

  • The Coproc macro adds dispatching Coprocessor and Cocircuit implementations to enums whose variants all atomically enclose types implementing Coprocessor.

Lurk macro

Although severely limited in the expressions it can represent, and still lacking quasiquoting, the lurk macro allows embedding Lurk code in Rust source. See tests for examples.

Dependencies

~4.5MB
~94K SLoC