feature: add RFC 8259 JSON parser/serializer and string utility extensions #62

Merged
admin merged 1 commits from feature/json into develop 2026-03-10 19:26:27 +00:00
Owner

Add core.fmt.json — a complete RFC 8259 JSON library with recursive-descent
parser, serializer, builders, dot/bracket path accessors, and full cleanup.
Supports all 6 JSON value types plus JSON_ERROR for parse error reporting.
Numbers stored as Double via x87 FPU. Unicode \uXXXX escapes handled
(ASCII range emitted, non-ASCII replaced with '?').

Supporting changes:

  • core.strings: add int64ToString, doubleToStr (scientific notation for
    very large/small values, fixed-point for normal range, trailing zero
    trimming), plus unit tests for both
  • asuro.pas: wire core.fmt.json.UnitTest into the boot test suite
  • mkdocs.yml: add JSON nav entry under Formats
  • doc/src/core/fmt/core.fmt.json.md: full API documentation
  • doc/src/core/core.strings.md: document int64ToString and doubleToStr
  • doc/planning/json.md: implementation plan and design spec
  • doc/planning/webgpu.md: WebGPU-over-WASM design plan (software
    rasterizer backend for WASM apps importing webgpu.h)
Add core.fmt.json — a complete RFC 8259 JSON library with recursive-descent parser, serializer, builders, dot/bracket path accessors, and full cleanup. Supports all 6 JSON value types plus JSON_ERROR for parse error reporting. Numbers stored as Double via x87 FPU. Unicode \uXXXX escapes handled (ASCII range emitted, non-ASCII replaced with '?'). Supporting changes: - core.strings: add int64ToString, doubleToStr (scientific notation for very large/small values, fixed-point for normal range, trailing zero trimming), plus unit tests for both - asuro.pas: wire core.fmt.json.UnitTest into the boot test suite - mkdocs.yml: add JSON nav entry under Formats - doc/src/core/fmt/core.fmt.json.md: full API documentation - doc/src/core/core.strings.md: document int64ToString and doubleToStr - doc/planning/json.md: implementation plan and design spec - doc/planning/webgpu.md: WebGPU-over-WASM design plan (software rasterizer backend for WASM apps importing webgpu.h)
admin added this to the 2.0.0 milestone 2026-03-10 19:04:44 +00:00
admin added the Feature
Component
Core
labels 2026-03-10 19:04:44 +00:00
t3hn3rd was assigned by admin 2026-03-10 19:04:44 +00:00
admin added 1 commit 2026-03-10 19:04:45 +00:00
feature: add RFC 8259 JSON parser/serializer and string utility extensions
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
63f6c5ecc1
Add core.fmt.json — a complete RFC 8259 JSON library with recursive-descent
parser, serializer, builders, dot/bracket path accessors, and full cleanup.
Supports all 6 JSON value types plus JSON_ERROR for parse error reporting.
Numbers stored as Double via x87 FPU. Unicode \uXXXX escapes handled
(ASCII range emitted, non-ASCII replaced with '?').

Supporting changes:
- core.strings: add int64ToString, doubleToStr (scientific notation for
  very large/small values, fixed-point for normal range, trailing zero
  trimming), plus unit tests for both
- asuro.pas: wire core.fmt.json.UnitTest into the boot test suite
- mkdocs.yml: add JSON nav entry under Formats
- doc/src/core/fmt/core.fmt.json.md: full API documentation
- doc/src/core/core.strings.md: document int64ToString and doubleToStr
- doc/planning/json.md: implementation plan and design spec
- doc/planning/webgpu.md: WebGPU-over-WASM design plan (software
  rasterizer backend for WASM apps importing webgpu.h)
admin requested review from Aaron 2026-03-10 19:04:45 +00:00
Aaron approved these changes 2026-03-10 19:25:16 +00:00
admin merged commit 140d3d6d68 into develop 2026-03-10 19:26:27 +00:00
Sign in to join this conversation.