Skip to content

refactor(config): parse Glendix TOML with tom - #28

Merged
GG-O-BP merged 1 commit into
mainfrom
refactor/tom-config-issue-15
Sep 7, 2026
Merged

refactor(config): parse Glendix TOML with tom#28
GG-O-BP merged 1 commit into
mainfrom
refactor/tom-config-issue-15

Conversation

@GG-O-BP

@GG-O-BP GG-O-BP commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • replace the handwritten JavaScript TOML reader with a typed Gleam configuration boundary built on simplifile and tom
  • parse [tools.glendix] once per command operation and pass typed bindings across the JavaScript effect boundary
  • preserve missing-file/table defaults while returning descriptive errors for malformed TOML and invalid configured value types
  • document strict TOML behavior in the English, Korean, and Japanese READMEs
  • add focused configuration tests for defaults, package-manager/compatibility settings, bindings, quoted keys/comments, malformed input, and invalid types

Validation

  • mandatory pre-push ./scripts/verify.sh final
    • format/check/warnings/docs/style/FFI/repository-boundary gates
    • standalone consumers and all package tests
    • Glendam browser integration
    • widget MPK build
    • Lustre browser E2E
    • Mendix 11.12 full build/runtime/browser E2E
  • dependency commit policy: passed
  • git diff --check: passed

The host's WinBoat container normally owns port 8080, so it was stopped by container name during Mendix verification and restored afterward. Hex API rate-limit failures were handled by retrying only the dependency-download operation after the rate-limit window reset.

Closes #15

@GG-O-BP
GG-O-BP merged commit 58faa9e into main Sep 7, 2026
1 check passed
@GG-O-BP
GG-O-BP deleted the refactor/tom-config-issue-15 branch September 7, 2026 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ffi] Replace the handwritten Glendix TOML parser with tom

1 participant