LSTS Language Reference Website
View the Project on GitHub Lambda-Mountain-Compiler-Backend/lsts-language-reference
[] : (&base-type, U64) -> base-typeset[] : (&base-type, U64, base-type) -> base-type+ : (&base-type, USize) -> &base-typePointer arithmetic.
+ : (&base-type, ISize) -> &base-typePointer arithmetic.
== : (&base-type, &base-type) -> BoolPointers are have linear addresses.
!= : (&base-type, &base-type) -> BoolPointers are have linear addresses.
< : (&base-type, &base-type) -> BoolPointers are have linear addresses.
<= : (&base-type, &base-type) -> BoolPointers are have linear addresses.
> : (&base-type, &base-type) -> BoolPointers are have linear addresses.
>= : (&base-type, &base-type) -> BoolPointers are have linear addresses.
close : base-type -> &base-typeclose tries to seal a value into a new indirect memory region.
open : &base-type -> base-typeopen tries to open a value from an indirect memory region.
open : base-type -> base-typeIf a value is already directly accessible, then open is a noop.
& : LocalVariable+base-type -> &base-typeLocal variables have logical addresses that can be referenced with &.
& : GlobalVariable+base-type -> &base-typeGlobal variables have logical addresses that can be referenced with &.
.into : (x,Type<&x>) -> &x