canon_generator 0.30.0 copy "canon_generator: ^0.30.0" to clipboard
canon_generator: ^0.30.0 copied to clipboard

Code generator for canon — emits the typed Screen, Hop, and verb surface from the spec enum.

canon_generator #

Code generator for canon — emits the typed Screen, Hop, and verb surface from the @screens spec, the id extension types from @IDs, the tree ops from @entities, and the ledger wiring from @regents: memories bound in row order (row order is traversal order), guard rows judging through a generated read-only Stores facade, and merge edges from the enum's static merges set.

Build workflow note #

Generated types (ids, the Screen facade, store globals, the Stores facade) are part of your source's vocabulary, so a spec change can need TWO passes: run build_runner, adjust the hand-written code that referenced the old shapes, and build again. On a first generation the hand-written references may not resolve until the builder has run once — that's the normal bootstrap, not an error in your spec.

1
likes
0
points
750
downloads

Publisher

unverified uploader

Weekly Downloads

Code generator for canon — emits the typed Screen, Hop, and verb surface from the spec enum.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, build, canon, identifiable, regent, source_gen

More

Packages that depend on canon_generator