Skip to content

Introduce DialectLoader to collect all dialect information.#6

Merged
joehendrix merged 2 commits into
mainfrom
jhx/ddm_loader
Jul 28, 2025
Merged

Introduce DialectLoader to collect all dialect information.#6
joehendrix merged 2 commits into
mainfrom
jhx/ddm_loader

Conversation

@joehendrix
Copy link
Copy Markdown
Contributor

Description of changes: This is a step towards supporting dynamic loading of dialects from disk.

It changes the state in the DeclM monad to group all code related to dialects into a single DialectLoader class.

It also renames #strataGenAST to #strata_gen for compatibility with Lean naming conventions and performs refactorings.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This is a step towards supporting dynamic loading of dialects from disk.

It changes the state in the DeclM monad to group all code related to dialects into a single DialectLoader class.

It also renames #strataGenAST to #strata_gen for compatibility with Lean naming conventions and performs refactorings.
@joehendrix joehendrix requested a review from atomb July 24, 2025 21:04
* Programs now beigin with. program command rather than open.
* DialectM and BuiltinM monads introduced for dialect definitions and builtin dialects respectively.
* Remove incremental updates to DialectLoader.
@joehendrix joehendrix requested a review from shigoel July 25, 2025 06:16
@joehendrix joehendrix added this pull request to the merge queue Jul 28, 2025
Merged via the queue into main with commit 9cfb1de Jul 28, 2025
3 checks passed
@joehendrix joehendrix deleted the jhx/ddm_loader branch July 28, 2025 04:39
andrewmwells-amazon pushed a commit that referenced this pull request Oct 7, 2025
kondylidou added a commit to kondylidou/Strata that referenced this pull request May 19, 2026
…nat support) status

Gap strata-org#6: mark BV→int (`e as_int`) as implemented; note int→BV and
centralized coercion pass as remaining work.
Gap strata-org#8: mark `type nat := int` synonym + auto non-negativity axioms
as partially implemented; document the mixed-type datatype limitation
and point to nat_axiom_discussion.lean for design alternatives.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant