spoofax_prop/test/manual-suite.spt
Glen Whitney 28a3370d03 feat: Add SPT as an alternate means of running Stratego strategies
Also completed and documented Sec 4.2 of the Stratego
Tutorial/Reference manual
2021-01-16 15:11:47 -08:00

13 lines
259 B
Cheetah

module manual-suite
language Spoofax-Propositional-Language
test sec4_2_test3 [[
(r -> p & q) & p
]] run dnf to Atom("x")
test sec4_2_test3_ex [[
(r -> p & q) & p
]] run dnf to Or(And(Not(Atom("r")),Atom("p")),And(And(Atom("p"),Atom("q")),Atom("p")))