mirror of
https://github.com/RoBaertschi/tt.git
synced 2025-04-18 23:13:29 +00:00
begin ir emit
This commit is contained in:
parent
8f115f8c1a
commit
0fabececd0
14
ttir/emit.go
14
ttir/emit.go
@ -1 +1,15 @@
|
|||||||
package ttir
|
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) {
|
||||||
|
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user