tourniquet
tourniquet copied to clipboard
PatchLang: More expressions
Some other expressions we could consider:
-
Function()
: LikeVariable()
. The constructor could take additional concretization constraints, like an optional returntype
or parametertype
s. -
Call(Function(), Variable(), ..., Variable())
and/orCall(Lit("..."), Variable(), ..., Variable())
. -
Asmt(Lhs, Expression())
forlhs = <expression>;
.Lhs
can be either a preexisting variable or a fresh variable; we should think about ways to express the latter.