mirror of
https://github.com/Noratrieb/lambda-calculus.git
synced 2026-03-15 02:26:04 +01:00
λ
This commit is contained in:
parent
29b0d35a62
commit
0d3c4d913e
1 changed files with 4 additions and 1 deletions
|
|
@ -81,7 +81,10 @@ mod parser {
|
||||||
})
|
})
|
||||||
.labelled("abstraction");
|
.labelled("abstraction");
|
||||||
|
|
||||||
abstraction.then_ignore(end())
|
ident
|
||||||
|
.or(abstraction)
|
||||||
|
.or(expr.delimited_by(Token::ParenO, Token::ParenC))
|
||||||
|
.then_ignore(end())
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue