feat: initial microWacc definition #21

Merged
gk1623 merged 5 commits from microwacc into master 2025-02-18 17:27:13 +00:00
Showing only changes of commit bc25f914ad - Show all commits

View File

@@ -15,7 +15,7 @@ object microWacc {
case class CharLiter(v: Char) extends Expr(KnownType.Char)
case class ArrayLiter(elems: List[Expr])(ty: SemType) extends Expr(ty)
case class NullLiter()(ty: SemType) extends Expr(ty)
case class Ident(name: String)(identTy: SemType)
case class Ident(name: String, uid: Int)(identTy: SemType)
extends Expr(identTy)
with CallTarget(identTy)
with LValue