Deferred: design configuration composition and imports #4

Closed
opened 2026-06-01 13:43:26 +02:00 by yorunikakeru · 0 comments
Owner

Status

Deferred and closed because a separate DSL-level import system is not part of the approved v1 architecture.

Current decision

.frog files use ordinary explicit Haskell imports. Users import required DSL modules and symbols themselves. The compiler does not inject a hidden prelude or resolve a second import syntax. Multi-file configuration uses ordinary Haskell modules.

Reason

A DSL-specific resolver, path semantics, cycle detection, and document merge rules would duplicate Haskell module functionality before the core IR contract exists.

Revisit when

  • Core DSL, modular IR, validation, and serialization are implemented.
  • A concrete limitation of ordinary Haskell modules is demonstrated.
  • Alternative merge semantics can be specified without weakening validation.
## Status Deferred and closed because a separate DSL-level import system is not part of the approved v1 architecture. ## Current decision `.frog` files use ordinary explicit Haskell imports. Users import required DSL modules and symbols themselves. The compiler does not inject a hidden prelude or resolve a second import syntax. Multi-file configuration uses ordinary Haskell modules. ## Reason A DSL-specific resolver, path semantics, cycle detection, and document merge rules would duplicate Haskell module functionality before the core IR contract exists. ## Revisit when - Core DSL, modular IR, validation, and serialization are implemented. - A concrete limitation of ordinary Haskell modules is demonstrated. - Alternative merge semantics can be specified without weakening validation.
yorunikakeru changed title from Add DSL-level imports and module merging to Deferred: design configuration composition and imports 2026-06-06 14:02:07 +02:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
FrogOS/DSL#4
No description provided.