package alba
Alba compiler
Install
Dune Dependency
Authors
Maintainers
Sources
0.4.1.tar.gz
sha256=439b1dce07c86e914d1ebf1712c5581418314b0c8d13594f27a698b1d25fe272
md5=5cf58d4ed4eacbe6f330e9d2378ef5c6
doc/alba.albalib/Albalib/Build_context/index.html
Module Albalib.Build_context
Source
A build context consists of a context with holes and a stack of to be constructed terms.
There is always a next to be constructed term. The term is either in a function position or an argument position.
make gamma
Make a build context based on gamma
. Push 2 holes onto the context to get
Gamma, E: Any(2), e: E
The next to be constructed term points to e
.
Terminals
base_candidate term nargs bc
Receive the term term
as a candidate for the next to be constructed term. The candidate is from the base context and in applied to nargs
arguments.
Base candidates are either
- Literals (Numbers, characters, strings)
- Variables from the base context
bound level nargs bc
Product all (a: A) ... : RT
Typed expression exp: tp
Function Application f a b c ...
Function Abstraction \ x y ... := t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page