From 0fabececd0ffc23fed939786eab2d4a55bbb2f17 Mon Sep 17 00:00:00 2001 From: Robin Date: Tue, 21 Jan 2025 06:07:33 +0100 Subject: [PATCH] begin ir emit --- ttir/emit.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/ttir/emit.go b/ttir/emit.go index 182a8e0..4c2c8ae 100644 --- a/ttir/emit.go +++ b/ttir/emit.go @@ -1 +1,15 @@ package ttir + +import "robaertschi.xyz/robaertschi/tt/tast" + +func EmitProgram(program *tast.Program) *Program { + +} + +func emitFunction(function *tast.FunctionDeclaration) *Function { + +} + +func emitExpression(expr *tast.Expression) (Operand, []Instruction) { + +}