removed ambiguity from the cont-mark-transform's "a" non-terminal

Redex no longer has extra checks to eliminate redundant matches
(as those checks are prohibitively expensive for the lambdajs model)
so redundancy in the grammar can, when combined with context
decomposition or named patterns, lead to significant slowdowns
(cherry picked from commit 0c6e0a11cf)
This commit is contained in:
Robby Findler 2012-01-09 12:17:48 -06:00 committed by Ryan Culpepper
parent 8bba1f2455
commit 7949ede5d5
2 changed files with 8 additions and 1 deletions

View File

@ -9,6 +9,8 @@
(call/cc w))
(v ....
(κ (hide-hole E)))
(a ....
(κ (hide-hole E)))
(D (w-c-m v v D)
hole

View File

@ -13,7 +13,9 @@
(abort e))
(l [(K x ...) e])
(a w
(a (λ (x ...) e)
σ
x
(K a ...))
(w v
x)
@ -28,3 +30,6 @@
(Σ [σ v]))
(K string))