SHS/pkg/shsh/token.go

24 lines
332 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
}
2019-11-12 13:02:31 -08:00
func lex(string input) string {
2019-11-12 12:24:45 -08:00
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
}