SHS/pkg/shsh/token.go

24 lines
333 B
Go
Raw Normal View History

2019-11-12 12:24:45 -08:00
package token;
import (
"strings"
2019-11-12 13:02:06 -08:00
"bytes"
2019-11-12 12:24:45 -08:00
)
type operation func(Token) Token
type Token struct {
Token *next
interface{} *_inner
}
func eval(string input) string {
ret := new(Token)
iter := &ret
2019-11-12 13:02:06 -08:00
// buffered reader via new or make i dunno
2019-11-12 12:24:45 -08:00
2019-11-12 13:02:06 -08:00
for pos, char := range input {
// switch
}
2019-11-12 12:24:45 -08:00
}