proton_codegen

WASM code generator for typed Proton command registrars.

proton
codegen
command
wasm
moon add moonbit-community/proton_codegen@0.1.16
Download zip
Version
0.1.16
License
Apache-2.0
Last updated
3 days ago
Downloads
1
README

#proton_codegen

moonbit-community/proton_codegen is the WASM code generator for typed Proton command registrars. Run it directly from the Mooncakes registry with moonx:

moonx moonbit-community/proton_codegen@<version> \ commands.mbt -o commands.g.mbt

Proton application packages should declare this invocation as a Moon prebuild rule so moon check, moon build, and moon run regenerate the registrar from its explicit inputs.

The library package moonbit-community/proton_codegen/lib contains the parser and renderer used by the executable and by Proton's own tooling.

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io