Gonna checkpoint here - got basic fungll working, did a mod to allow strings as terminals, working on getting recursion working.
This commit is contained in:
@@ -223,6 +223,9 @@ obj str (Object, Serializable, Hashable) {
|
||||
r++
|
||||
}
|
||||
}
|
||||
fun operator<(other: ref str): bool {
|
||||
return *this <= other && *this != other
|
||||
}
|
||||
|
||||
fun operator*(n: int): str {
|
||||
var to_ret.construct(): str
|
||||
|
||||
Reference in New Issue
Block a user