Skip to content

Move eggcc to latest egglog experimental#790

Draft
oflatt wants to merge 1 commit into
mainfrom
oflatt-latest-egglog
Draft

Move eggcc to latest egglog experimental#790
oflatt wants to merge 1 commit into
mainfrom
oflatt-latest-egglog

Conversation

@oflatt

@oflatt oflatt commented Feb 25, 2026

Copy link
Copy Markdown
Member

No description provided.

@oflatt oflatt force-pushed the oflatt-latest-egglog branch from edbf664 to f0dc009 Compare February 25, 2026 20:03
Rebase onto main and migrate to the latest egglog-experimental (egglog v2,
backed by the egg-smol fork).

- Bump egglog-experimental dep 38b3898 -> 08771f9 in both crates.
- Bump rust-toolchain 1.87 -> 1.88 (egglog v2 uses stable let-chains).
- egglog v2 API migration:
  - EGraph::serialize() now returns SerializeOutput; take .egraph.
    Drop the per-function `unextractables` set (the API no longer exposes
    it; tiger reads extractability from the serialized egraph directly).
  - desugar_program() -> resolve_program() + sanitize_internal_names().
  - Replace top-level `(unstable-fresh! ...)` with throwaway constructors
    in test_tuple_ith (the macro only desugars inside rule actions).
  - test_context_of_panics_if_two: egglog now surfaces `(panic ...)` as an
    Err instead of unwinding, so assert on the error.
- Run egglog single-threaded: pin the rayon global pool to 1 thread before
  creating each egraph (egglog v2 gates all parallelism on
  rayon::current_num_threads() > 1).
- Accept 34 snapshot updates (output verified equivalent: all interpreter
  correctness checks still pass).
- Inline format args newly flagged by clippy 1.88.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@oflatt oflatt force-pushed the oflatt-latest-egglog branch from 9ce432d to 65245c7 Compare June 2, 2026 22:07
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