scalus icon indicating copy to clipboard operation
scalus copied to clipboard

Typed SIR

Open nau opened this issue 1 year ago • 1 comments

Modify Scalus compiler plugin to extract type information and put it into generated SIR.

It's going to be System Fw types. Something like this:

enum Type:
  case TyCon(...)
  case TyVar(v: String)
  case TyLabAbs(v: String, body: Type)
  case TyApply(f: Type, a: Type)

nau avatar May 07 '24 15:05 nau

basic implementation sketch in https://github.com/rssh/scalus/tree/typed-sir (WIP, not yet compiled)

rssh avatar May 26 '24 07:05 rssh