Simplified tokenizer

This commit is contained in:
Eduard Urbach 2025-02-02 11:11:59 +01:00
parent dd6ebd9cd4
commit 25f6928f40
Signed by: eduard
GPG key ID: 49226B848C78F6C8
9 changed files with 300 additions and 261 deletions

View file

@ -1,4 +1,7 @@
package ast
// Node is an interface used for all types of AST nodes.
type Node any
// AST is an abstract syntax tree which is simply a list of nodes.
type AST []Node