Example #1
0
func main() {
	state := lexer.NewLexerState(0, 0)
	fmt.Println(lexer.Lexan(state))
	fmt.Println(state)
	fmt.Println(lexer.Lexan(state))
	fmt.Println(state)
	fmt.Println(lexer.Lexan(state))
	fmt.Println(state)
	fmt.Println(lexer.Lexan(state))
	fmt.Println(state)
	fmt.Println(lexer.Lexan(state))
	fmt.Println(state)
	fmt.Println(lexer.Lexan(state))
}
Example #2
0
func satisfythecompiler() {
	lexer.Lexan(nil)
}