* Update version to 0.9.0
Also make `make test-go` rebuild the cgo object when the C sources change:
Go's build cache tracks only src/go, not the src/*.c and src/*.h files that
src/go/mojibake.c includes, so a checksum of them now goes into CGO_CFLAGS.
Fix the VersionNumber doc comment, which gave the wrong encoding.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Francesco Bigiarini <francesco.bigiarini@gmail.com>
* AGENTS.md: document how release codenames are chosen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Francesco Bigiarini <francesco.bigiarini@gmail.com>
* Removed useless text
Signed-off-by: Francesco Bigiarini <francesco.bigiarini@gmail.com>
---------
Signed-off-by: Francesco Bigiarini <francesco.bigiarini@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Wrap the Unicode Bidirectional Algorithm (UAX #9) as Mojibake.Bidi. resolve/2
returns a paragraph whose resolved levels live in a NIF resource, freed by its
destructor, so a paragraph is resolved once and shared between processes.
levels/1, chars/1, reorder/2, runs/2, and visual/2 lay out its lines, and
direction/1 gives the paragraph direction. The NIF encodes the visual line
itself because mjb_codepoint_encode always writes a NUL terminator.
Add the BidiCharacterTest.txt conformance test, an Elixir example in
examples/elixir run by `make -C examples example-elixir`, and the Hex release
steps in CONTRIBUTING.md.
Signed-off-by: Francesco Bigiarini <francesco.bigiarini@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>