wip: ast?

This commit is contained in:
2025-12-07 13:00:59 +07:00
parent b2ba3c707f
commit 3597bea13c
2 changed files with 22 additions and 0 deletions

9
ast/ast.go Normal file
View File

@@ -0,0 +1,9 @@
package ast
type Statement interface {
stmt()
}
type Expr interface {
expr()
}

13
ast/expr.go Normal file
View File

@@ -0,0 +1,13 @@
package ast
//binary
////number expr
////string expr
////symbol expr
////assignment
//complex
/////binary expr
////filter expr????
////call expr
////pipe expr