improved token design

This commit is contained in:
Aidan Hahn 2019-11-12 12:24:45 -08:00
parent 8e767754f2
commit b28ba051e9
No known key found for this signature in database
GPG key ID: 327711E983899316

View file

@ -0,0 +1,19 @@
package token;
import (
"strings"
)
type operation func(Token) Token
type Token struct {
Token *next
interface{} *_inner
}
func eval(string input) string {
ret := new(Token)
iter := &ret
}