Closed eyihluyc closed 1 month ago
I just realized there's a problem with the suggested rule, as it applies only to formation with application. If there's a "tail", for example .b.c
in
a ↦ ⟦ b ↦ ∅ ⟧ (b ↦ ⟦ c ↦ ξ.ρ.x ⟧ ).b.c
it's not applicable.
There was another issue. I added the example from the PR description to dataization.yaml
and checked stack test
on master, and all the tests passed. But when I use a separate command
stack run normalizer -- dataize --recursive --chain --rules eo-phi-normalizer/test/eo/phi/rules/yegor.yaml program.phi
, I get the different (wrong) result. I wonder if it is something that I do wrong maybe?
checked
stack test
on master
I think some tests use built-in normalizer instead of yegor.yaml
. We should specify a matrix of rulesets (builtin and from yaml
) to test on. @deemp can you help with that?
The current version of
R_COPY
does not account for the case when the inserted term is a formation that makes use of it'sρ
attribute. As a result, when moving such formation inside the copied one,ξ.ρ
changes, though it shouldn't.Running recursive dataization on this term
results in
while the expected result is
PR-Codex overview
This PR focuses on updating object structures and patterns in the
eo-phi-normalizer
module.Detailed summary
dataization.yaml
yegor.yaml