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
{{ message }}
This repository has been archived by the owner on Aug 17, 2022. It is now read-only.
would only be run in the second "phase" of term rewriting. How this fits in with more powerful optimization and how we decide which internal rules are in which phase I haven't quite figured out yet.
An extension of this is auto-placement of rules. If a rule has no phase pragma, some heuristic or lightweight pass is run on it to figure out which other rules it most directly affects. Not sure if this even works, but could be something for the ML ideas we were thinking about @luke-bhan.
The text was updated successfully, but these errors were encountered:
It would be cool if our rules also supported phase control, like ghc does (https://downloads.haskell.org/~ghc/7.0.1/docs/html/users_guide/rewrite-rules.html). The idea is we provide some pragma for string rules specifying what phase they run in. For example
would only be run in the second "phase" of term rewriting. How this fits in with more powerful optimization and how we decide which internal rules are in which phase I haven't quite figured out yet.
An extension of this is auto-placement of rules. If a rule has no phase pragma, some heuristic or lightweight pass is run on it to figure out which other rules it most directly affects. Not sure if this even works, but could be something for the ML ideas we were thinking about @luke-bhan.
The text was updated successfully, but these errors were encountered: