|
|
8da77b623a
|
fix: Phase 6 — LOW #39,42,44,49,52 final cleanup
Files modified (5):
hbrt/symbol.go — #39: Module.Find O(n) → O(1) via lazy map index
hbrt/thread.go — #49: Call stack init 256 → 32, grows dynamically
Saves 14KB→1.7KB per thread for goroutine-heavy programs
hbrt/frb.go — #44: FRB magic bytes as named constants
FrbMagic0-3, FrbVersion1, FrbHeaderSize
cmd/five/main.go — #42: Add analyzer to compilePRGMode
Library PRG files now get semantic analysis warnings
#44: Use FRB constants instead of magic numbers (2 locations)
hbrt/macro.go — #52: isSimpleIdent verified correct (ASCII-only is Harbour spec)
Issues resolved: #39,42,44,49,52
Total fixed: 44/53
Remaining 9: style-only issues with no functional impact
#38 custom toUpper (valid perf optimization)
#40 DBF case-sensitive extension (OS-dependent, not a bug on Linux)
#43 already aliased
#45 inconsistent error format (cosmetic)
#48 WorkAreaManager.Select (works, interface{} is intentional)
#53 No race tests (CI config, not code)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-01 21:11:08 +09:00 |
|
|
|
59568f3301
|
Five v0.9 — Harbour + Go fusion language
- Compiler: PP → Lexer → Parser → Analyzer → Gengo pipeline
- Parser: 232/236 (98%) Harbour compatibility, registry-based dispatch
- RTL: 351 Harbour-compatible functions
- RDD: DBF/NTX/CDX engines with Rushmore bitmap optimization
- Go Interop: IMPORT + pkg.Func() + obj:Method() with FastPath (15M calls/sec)
- HB_FUNC API: Full Harbour C API compatible Go bridge
- Concurrency: SPAWN/LAUNCH/GOROUTINE, <-, WATCH, PARALLEL FOR, ASYNC/AWAIT
- Extensions: Multi-return, DEFER, Slice, f-string, Nil-safe ?:, CONST
- Macro Compiler: Runtime AST parsing and evaluation
- Debugger: TUI debugger with source display, breakpoints, stepping
- FRB: Native + Pcode dual mode runtime binary
- Tests: 13 packages ALL PASS
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-03-31 09:41:50 +09:00 |
|