Implemented assignments

This commit is contained in:
2024-06-25 17:09:25 +02:00
parent c7d90a2d11
commit 2569c1bf63
5 changed files with 58 additions and 35 deletions

View File

@ -2,7 +2,6 @@ package build
import (
"git.akyoto.dev/cli/q/src/build/expression"
"git.akyoto.dev/cli/q/src/build/token"
)
// CompileFunctionCall compiles a top-level function call.
@ -26,8 +25,3 @@ func (f *Function) CompileFunctionCall(expr *expression.Expression) error {
return nil
}
// isFunctionCall returns true if the expression is a function call.
func isFunctionCall(expr *expression.Expression) bool {
return expr.Token.Kind == token.Operator && expr.Token.Text() == "λ"
}