Skip to content

Commit 874a88c

Browse files
tmp
1 parent b642cc6 commit 874a88c

28 files changed

Lines changed: 5083 additions & 1492 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,4 @@ visualizer.tgz
8787
package
8888
.mypy_cache/
8989
*.json
90+
!python/tests/param_eq_hegg_haskell_golden.json

AGENTS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919

2020
- Use the Context7 MCP server for egglog documentation instead of copying external doc summaries into this file.
2121
- Keep general workflows in the how-to guides, and keep Python-specific runtime/reference examples in `docs/reference/python-integration.md`.
22+
- Before changing Python-facing `egglog` APIs or expression-inspection patterns, read `docs/reference/python-integration.md`.
23+
- Before changing how egglog concepts map into Python declarations, relations, actions, or sort/function definitions, read `docs/reference/egglog-translation.md`.
24+
- If a change touches both local Python ergonomics and egglog-language mapping, read `docs/reference/python-integration.md` first, then `docs/reference/egglog-translation.md`.
2225
- If a PR adds or updates a changelog entry in `docs/changelog.md`, keep it aligned with the final code changes.
2326
- For a clean docs rebuild, clear `docs/_build/`; the MyST-NB execution cache lives in `docs/_build/.jupyter_cache`.
2427

Cargo.lock

Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ opentelemetry = "0.28"
1818
opentelemetry-otlp = { version = "0.28", features = ["http-proto", "reqwest-blocking-client", "trace"] }
1919
opentelemetry-stdout = { version = "0.28", features = ["trace"] }
2020
opentelemetry_sdk = "0.28"
21-
egglog = { git = "https://github.com/saulshanabrook/egg-smol.git", branch = "codex/f64-unary-primitives", default-features = false }
22-
egglog-ast = { git = "https://github.com/saulshanabrook/egg-smol.git", branch = "codex/f64-unary-primitives" }
23-
egglog-core-relations = { git = "https://github.com/saulshanabrook/egg-smol.git", branch = "codex/f64-unary-primitives" }
24-
egglog-reports = { git = "https://github.com/saulshanabrook/egg-smol.git", branch = "codex/f64-unary-primitives" }
25-
egglog-bridge = { git = "https://github.com/saulshanabrook/egg-smol.git", branch = "codex/f64-unary-primitives" }
21+
egglog = { path = "../egg-smol", default-features = false }
22+
egglog-ast = { path = "../egg-smol/egglog-ast" }
23+
egglog-core-relations = { path = "../egg-smol/core-relations" }
24+
egglog-reports = { path = "../egg-smol/egglog-reports" }
25+
egglog-bridge = { path = "../egg-smol/egglog-bridge" }
2626

2727

28-
egglog-experimental = { git = "https://github.com/egraphs-good/egglog-experimental", branch = "main", default-features = false }
28+
egglog-experimental = { path = "../egglog-experimental", default-features = false }
2929
egraph-serialize = { version = "0.3", features = ["serde", "graphviz"] }
3030
serde_json = "1"
3131
pyo3-log = "*"
@@ -39,19 +39,6 @@ uuid = { version = "1.18", features = ["v4"] }
3939
rayon = "1.11"
4040
base64 = "0.22.1"
4141

42-
# Use patched version of egglog in experimental
43-
[patch.'https://github.com/egraphs-good/egglog']
44-
# egglog = { path = "../egg-smol" }
45-
# egglog-core-relations = { path = "../egg-smol/core-relations" }
46-
# egglog-ast = { path = "../egg-smol/egglog-ast" }
47-
# egglog-reports = { path = "../egg-smol/egglog-reports" }
48-
# egglog-bridge = { path = "../egg-smol/egglog-bridge" }
49-
50-
egglog = { git = "https://github.com/saulshanabrook/egg-smol.git", branch = "codex/f64-unary-primitives" }
51-
egglog-ast = { git = "https://github.com/saulshanabrook/egg-smol.git", branch = "codex/f64-unary-primitives" }
52-
egglog-core-relations = { git = "https://github.com/saulshanabrook/egg-smol.git", branch = "codex/f64-unary-primitives" }
53-
egglog-bridge = { git = "https://github.com/saulshanabrook/egg-smol.git", branch = "codex/f64-unary-primitives" }
54-
egglog-reports = { git = "https://github.com/saulshanabrook/egg-smol.git", branch = "codex/f64-unary-primitives" }
5542

5643
# enable debug symbols for easier profiling
5744
[profile.release]

0 commit comments

Comments
 (0)