hashc icon indicating copy to clipboard operation
hashc copied to clipboard

Turn some variants of `Term` into primitives and intrinsics

Open kontheocharis opened this issue 1 year ago • 0 comments

  • TypeOf can be in the prelude
  • Cast, Index, Deref can be implemented as intrinsics.
  • ArrayTy can be a first-class variant of Term.
  • Loop, Return, LoopControl, Assign can be put into Command, which can be a variant of Term
  • Decl can become a special variant of a block term statement

kontheocharis avatar Sep 03 '23 18:09 kontheocharis