Pure MoonBit CAN 2.0/CAN-FD frames, codecs, filters, and deterministic virtual bus
moon run cmd/can-demomoon run cmd/can-benchimport {
"fuyun-2026/moonbit-canbus/src/frame"
"fuyun-2026/moonbit-canbus/src/sim"
}| Package | Responsibility |
|---|---|
| src/frame | identifiers, frame kinds, payload validation, metadata |
| src/codec | DLC, bits, CRC, stuffing, wire codec and wire statistics |
| src/filter | exact, masked, kind, prefix and ordered filter matching |
| src/sim | queues, arbitration, nodes, bus events, schedules and recording |
| src/log | JSON, CSV, NDJSON, event batches and log queries |
| src/signal | checked signal conversion, layouts and registries |
| src/replay | selectors, schedules, replay results and cursors |
| src/diagnostic | reports, windows, health and threshold analysis |
| src/trace | trace selection, summaries, windows and analytics |
moon version --all
moon update
moon fmt --check
moon check --deny-warn --fmt --target all
moon info --target all
moon test --deny-warn --target all
moon run cmd/can-demo
moon run cmd/can-benchInstall
Download zipPure MoonBit CAN 2.0/CAN-FD frames, codecs, filters, and deterministic virtual bus