forked from solstice/solstice
need to fix some solstice bugs before i can start on lexer
This commit is contained in:
16
src/lexer/lexer.sols
Normal file
16
src/lexer/lexer.sols
Normal file
@@ -0,0 +1,16 @@
|
||||
use collections
|
||||
|
||||
struct SolsLexer {
|
||||
input = ""
|
||||
current = 0
|
||||
|
||||
constructor(string input) {
|
||||
self.input = input
|
||||
}
|
||||
|
||||
def lex() List {
|
||||
output = List(1)
|
||||
|
||||
return output
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user