9b9f87fd882a12d2ece1e4a7cdeeafff2768cba1
NTX Build (build.go): - pageSplit: exact port of Harbour hb_ntxPageSplit - NewPage = LEFT half (lower keys), OldPage = RIGHT half (offset-swapped) - Proper offset table initialization for all pages - setKeyEntry/copyKeyEntry helpers for clean data writing - insertKeyBTree: new root creation matches Harbour exactly - child[0] = newPage (left), child[1] = old root (right) NTX Traversal (ntx.go): - prevKey: guard iKey < keyCount before checking KeyChild (prevents infinite loop at rightmost child position) BOF Detection (indexer.go): - Set a.FBof AFTER GoTo returns (GoTo line 393 resets FBof=false) - Previously: set FBof before GoTo → immediately cleared Results: Unit tests ALL PASS, Stress test 82 items 79/82 match (96%) Remaining 3 diffs: duplicate key count edge case + SET DELETED seek Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Description
Five — Harbour+Go Fusion Language (PRG→Go native binary)
Languages
Go
57.9%
xBase
22%
C
19.5%
Shell
0.5%
Makefile
0.1%