Skip to content

3. Language and Compiler

Explore this section

  • A captured article argues that small validated DSLs improve LLM generation and repair, illustrated by step-marked PlantUML and YAML for diagram-rich presentations.

  • Proposes human and agent authoring over one typed program model, with introspection, compiler-guided repair, type-directed planning, and candidate intent compiled from natural-language requests.

  • Proposes treating LLM solutions as provisional witnesses for contract-governed program synthesis, distinguishing instance solutions, reusable procedures, guarded reuse, independent verification, and explicit acceptance.

  • Critiques Tickloom reliability claims by separating valid declarations, faithful test scenarios, deterministic executions, protocol correctness, and coverage of possible distributed-system interleavings.

  • A captured Tickloom case study shows how compute, network, storage, and clock abstractions ground generated quorum-store code and a constrained Java DSL for reproducible failure scenarios.

  • Questions ownership and versioning of business definitions and refund contracts, distinguishing advertised operation descriptions from enforced authorization, current preconditions, idempotency, and confirmed external outcomes.

  • Argues that API schemas need business definitions and discoverable operation contracts, using account meaning and refunds to connect inputs, preconditions, effects, authority, and retry requirements.

  • Proposes typed intermediate programs with explicit effects, extensible operator contracts, compositional guarantees, and structured compiler feedback, separating static admissibility from empirical task correctness.

  • Examines whether declarative collaboration constraints permit completion, meaningful review, and controlled commitment, especially when participants amend a shared specification during ongoing execution.

  • Proposes jointly edited declarative programs that define spaces of valid behavior, expressing delegation, review, and shared reasoning as constraints while retaining DSL programs as enduring artifacts.

  • Proposes whole-program DSL mediation through a deterministic runner and registered adapters, treating sandboxing separately and assigning transactions, retries, and staged commitment to execution infrastructure.

  • Develops staged mediation from ambiguous intent to committed effects, placing each check at the earliest suitable layer while separating representation, authority, isolation, validation, and commitment.

  • Compares Haskell and Scala for discovering DSL algebras, then proposes a shared semantic core with complementary Lean proofs, TLA+ behavior models, Datalog rules, and Cedar authorization.

  • Proposes an audit-oriented semantic kernel that models domain artifacts and compiles validated programs, separating relational truth, behavioral rules, authority, execution, and professional judgment.

  • Compares six candidate DSL experiments, favoring iterative RAG with explicit evidence state, bounded loops, coverage conditions, and budgets before broader query planning or software repair.

  • Connects Fowler-style DSL design and verified agent research to formal ancestors including GOLOG, comparing how declared constraints, planning engines, and symbolic checks limit model-generated programs.