Skip to content

v0.1.0

Choose a tag to compare

@tannevaled tannevaled released this 26 Oct 16:52
· 24 commits to main since this release
9185a02

First release of go-embedded-julia: the reference oracle and the lexer of a pure-Go (CGO=0) Julia.

  • M0 oracle harness: internal/oracle drives the pinned julia 1.12.6 as a persistent process; cmd/jloracle regenerates every golden file in one command (jloracle regen); tests replay the goldens without julia, JLGO_ORACLE=1 and JLGO_CORPUS run the live checks.
  • M1 step 1, the lexer: a Go port of JuliaSyntax's tokenize.jl (syntax.Tokenize, syntax.TokenDump), with utf8proc's Unicode 16 tables.

Parity: tokens identical to JuliaSyntax.Tokenize.tokenize on 1191 / 1191 files of julia 1.12.6's share/julia tree and 975 / 975 snippets.

100% coverage, race-clean, tested natively on amd64/arm64/386 and under qemu on riscv64, loong64, ppc64le, s390x and arm, compiled for every GOOS/GOARCH, tested as wasip1 under wazero.

The parser (green tree, Expr, diagnostics) follows in v0.2.0.