Implemented an abstract syntax tree
This commit is contained in:
parent
3b29d4cdee
commit
8453273d73
28 changed files with 422 additions and 315 deletions
|
@ -70,7 +70,7 @@ func Parse(tokens token.List) *Expression {
|
|||
continue
|
||||
}
|
||||
|
||||
group.Precedence = math.MaxInt
|
||||
group.Precedence = math.MaxInt8
|
||||
|
||||
if cursor == nil {
|
||||
cursor = group
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue