You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/changelog.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ _This project uses semantic versioning. Before 1.0.0, this means that every brea
12
12
- Added `Vec` sort
13
13
- Added support for variable args for builtin functions, to use in creation of `Vec` and `Set` sorts.
14
14
- 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
The `(include <path>)` command is used to add modularity, by allowing you to pull in the source from another egglog file into the current file.
506
+
507
+
In Python, we support the same use case with the ability to define a `Module` which is then depended on in `EGraph`. All commands registered on a `Module` won't be run immediately on an `EGraph`, but instead stored so that when they are included, they will be run:
0 commit comments