Simplified tokenizer
This commit is contained in:
parent
dd6ebd9cd4
commit
25f6928f40
9 changed files with 300 additions and 261 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue