Skip to content

Commit f8e07ef

Browse files
Add initial module support
1 parent 53ba28f commit f8e07ef

File tree

9 files changed

+1105
-890
lines changed

9 files changed

+1105
-890
lines changed

docs/changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ _This project uses semantic versioning. Before 1.0.0, this means that every brea
1212
- Added `Vec` sort
1313
- Added support for variable args for builtin functions, to use in creation of `Vec` and `Set` sorts.
1414
- Switch generated egg names to use `.` as seperate (i.e. `Math.__add__`) instead of `_` (i.e. `Math___add__`)
15+
- Adds support for modules to define functions/sorts/rules without executing them, for reuse in other modules
16+
- Moved simplifying and running rulesets to the `run` and `simplify` methods on the `EGraph` from those methods on the `Ruleset` since we can now create `Rulset`s for modules which don't have an EGraph attached and can't be run
1517

1618
## 0.4.0 (2023-05-03)
1719

python/egglog/bindings.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ class ExtractReport:
214214
##
215215
# Schedules
216216
##
217+
217218
@final
218219
class Saturate:
219220
schedule: _Schedule

0 commit comments

Comments
 (0)