mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-18 01:09:32 -06:00
10 lines
455 B
Plaintext
10 lines
455 B
Plaintext
i -retain testsuite/compiler/compute/param_table.gf
|
|
cc P2 Q1
|
|
cc table {P1 => "p1"; P2 _ => "p2"} ! P1
|
|
cc table {P1 => "p1"; P2 _ => "p2"} ! P2 Q1
|
|
cc table {P1 => "p1"; P2 _ => "p2"} ! P2 (Q1|Q2)
|
|
cc table {P1 => "p1"; P2 q => "p2"} ! P2 (Q1|Q2)
|
|
cc table {P1 => "p1"; P2 Q1 => "p2q1"; P2 Q2 => "p2q2"} ! P2 (Q1|Q2)
|
|
cc table {P1 => "p1"; P2 Q1 => "p2q1"; P2 Q2 => "p2q2"} ! P2 Q1
|
|
cc table {P1 => "p1"; P2 q => case q of {Q1 => "p2q1"; Q2 => "p2q2"}} ! P2 Q1
|