Repository navigation
test: Compile the display table apart from the translation table - #40
Merged
Merged
Conversation
henrikottesorensen
force-pushed
the
test/separate-display-table
branch
from
October 14, 2026 15:04
90de15a to
e162d82
Compare
henrikottesorensen
changed the base branch from
test/sharpyaml-parser
to
main
October 14, 2026 15:04
nanchen2483
approved these changes
Dec 3, 2026
no.yaml was the last spec excluded for disagreeing, at 299 of 2,191 cases, and the cause was the harness. Its display table is unicode-without-blank.dis,no-no-g0.utb. lou_checkyaml compiles the display table apart from the translation table through _lou_translate (tools/brl_checks.c), but lou_translate compiles one list as both, so putting the display list in front of the translation table added the grade 0 table's translation rules to every table in the file. Its 8-dot section got a 6-dot number sign in front of every digit. A spec whose display list names anything but a .dis file now goes through _lou_translate and _lou_backTranslate directly. They are internal but exported on all eight runtime packages, checked with objdump; win-x86 exports them stdcall, which DllImport defaults to there. That is no, zh-tw, ms-my-g2 and the two fr-bfu specs; every other spec stays on the wrapper, so the specs still test it end to end. no.yaml is copied from 3.40.0. That makes 154 of the 162 upstream specs and 284,639 cases, all passing. The eight left out are the dictionary harnesses. The skipped-entries tally moves with no.yaml: typeform from 548 to 629. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
henrikottesorensen
force-pushed
the
test/separate-display-table
branch
from
December 5, 2026 15:05
e162d82 to
e49eb9b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follows #39 and #42. With this change 154 of the 162 upstream braille specs from liblouis 3.40.0 run (284,639 cases), all passing. The other eight are the dictionary harnesses, which #43 runs in a project of their own.
What changed
no.yamlwas a harness bug, not a wrapper bug. It was the one spec still disagreeing (299 of 2,191 cases). Its display table isunicode-without-blank.dis,no-no-g0.utb.lou_checkyamlcompiles the display table apart from the translation table through_lou_translate(tools/brl_checks.c). The publiclou_translatecompiles one list for both, so the harness's[display, table]list added the grade 0 table's translation rules to every table in the file. For example, the 8-dot section got a 6-dot number sign in front of every digit..disfile (no,zh-tw,ms-my-g2, twofr-bfu) now call_lou_translate/_lou_backTranslatedirectly. Every other spec stays on the wrapper, so the specs still test it end to end. Both functions are exported by all eight runtime packages (checked withobjdump); win-x86 exports them as stdcall, which isDllImport's default there.no.yamlis copied from 3.40.0.typeformgoes from 548 to 629, all of itno.yaml.no.yamlsection updated.Testing
dotnet test -c Release -warnaserrorgives 237/237 on net10.0, run on macOS arm64 only. Linux and Windows are up to CI.🤖 Generated with Claude Code