Pure Go, zero cgo ready
chronic builds with CGO_ENABLED=0 โ it cross-compiles to every Go target with no C toolchain and links into a single static binary.
LICENSE=BSD-3-ClauseCGO_ENABLED=0Pure-Go (CGO=0) MRI-faithful Ruby chronic
$ go get github.com/go-ruby-chronic/chronic@latest
Pure-Go (CGO=0) MRI-faithful Ruby chronic. It is a pure-Go (no cgo) reimplementation of Ruby's chronic, mirroring its observable behaviour without any Ruby runtime. It is a standalone, reusable module โ the backend bound into go-embedded-ruby by rbgo, the same pattern as go-ruby-yaml โ differential-tested against reference Ruby, 100% coverage, CI green across 8 arches (six 64-bit, plus 32-bit 386 and arm) and 3 OSes.
chronic builds with CGO_ENABLED=0 โ it cross-compiles to every Go target with no C toolchain and links into a single static binary.
Mirrors the observable behaviour of Ruby’s chronic from reference Ruby (MRI), validated by a differential oracle against the reference rather than approximated โ without any Ruby runtime.
A standalone Go module any program can import; the OAuth-style dependency runs the other way โ rbgo binds it into go-embedded-ruby as a native module, the same pattern as go-ruby-yaml.
100% test coverage is the CI gate, gofmt + go vet clean, green across the six 64-bit Go targets (amd64, arm64, riscv64, loong64, ppc64le, s390x โ including the big-endian lane) and on 32-bit 386 and arm since v0.1.0.
A faithful pure-Go port of Ruby's chronic, cgo disabled, so it cross-compiles and embeds anywhere. Validated differentially against reference Ruby. It is a standalone, reusable module and the backend bound by rbgo into the sibling org github.com/go-embedded-ruby.