Implemented an abstract syntax tree

This commit is contained in:
2024-06-30 22:54:59 +02:00
parent 27c707b6ff
commit f479b5a03a
28 changed files with 422 additions and 315 deletions

View File

@ -70,7 +70,7 @@ func Parse(tokens token.List) *Expression {
continue
}
group.Precedence = math.MaxInt
group.Precedence = math.MaxInt8
if cursor == nil {
cursor = group