Gonna checkpoint here at a lot of good progress. Wrote generate_state_automaton, closure, and goto, and they compile and run, though don't work. (they don't crash yet though).
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
import string
|
||||
|
||||
fun null_symbol(): symbol {
|
||||
var toRet.construct(string::string("$NULL"), false, string::string("$NULL$")): symbol
|
||||
var toRet.construct(string::string("$NULL$"), false, string::string("$NULL$")): symbol
|
||||
return toRet
|
||||
}
|
||||
fun eof_symbol(): symbol {
|
||||
var toRet.construct(string::string("$EOF$"), false, string::string("$EOF$")): symbol
|
||||
return toRet
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user