Implemented an abstract syntax tree

This commit is contained in:
Eduard Urbach 2024-06-30 22:54:59 +02:00
parent 27c707b6ff
commit f479b5a03a
No known key found for this signature in database
GPG key ID: C874F672B1AF20C0
28 changed files with 422 additions and 315 deletions

View file

@ -13,8 +13,8 @@ import (
type Error struct {
Err error
File *fs.File
Position int
Stack string
Position int
}
// New generates an error message at the current token position.