tourniquet icon indicating copy to clipboard operation
tourniquet copied to clipboard

PatchLang: More expressions

Open woodruffw opened this issue 4 years ago • 0 comments

Some other expressions we could consider:

  • Function(): Like Variable(). The constructor could take additional concretization constraints, like an optional return type or parameter types.

  • Call(Function(), Variable(), ..., Variable()) and/or Call(Lit("..."), Variable(), ..., Variable()).

  • Asmt(Lhs, Expression()) for lhs = <expression>;. Lhs can be either a preexisting variable or a fresh variable; we should think about ways to express the latter.

woodruffw avatar Sep 09 '20 19:09 woodruffw