Skip to content

Commit

Permalink
some more simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
rntz committed Nov 29, 2014
1 parent 7d85451 commit cf71ed2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions extend.mox
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ in
fun first(a,b) = a
fun second(a,b) = b

fun testParse(parser) =
# env, stream, hardk, softk, ok
parser(None, None, first, first, second)

# precedence 12 prohibits all infix operators, even function application
val headExpr = exprAt(12)
val callExpr = exprAt(11) # prohibits all except function application
Expand Down Expand Up @@ -249,7 +245,7 @@ hide fun patVars(p) = Hash.keys(Env.get(Ext.Vars, p.resolveExt))
# val resolveExt = Env.single(Ext.Vars, Hash.fromList(vars))
# fun sucFor(p) =
# let val ds = Hash.fromList(
# Hash.get(p.resolveExt, name))
# p.resolveExt[name])
# val d = AST.declBegin(ds)
# in `e(let ~ds in ~(AST.exprRacket(onSuc)))
# in {
Expand Down

0 comments on commit cf71ed2

Please sign in to comment.