Adding a basic struct to represent the lexer
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package lexer
|
||||
|
||||
type Lexer struct {
|
||||
input string
|
||||
position int
|
||||
readPosition int
|
||||
ch byte
|
||||
}
|
||||
Reference in New Issue
Block a user