Bugfixes, range(start,end,step), and beginning work on lexer and symbol

This commit is contained in:
Nathan Braswell
2015-06-28 20:25:27 -04:00
parent 48683889da
commit ce6c8241fb
19 changed files with 248 additions and 48 deletions

View File

@@ -2,7 +2,7 @@ import io:*
import vector:*
fun onlyMatch(vec: vector<int>, matchWith: int): vector<int> {
return vec.filter(fun(it:int, other:int):bool { return it == other; }, matchWith)
return vec.filter(fun(it:int):bool { return it == matchWith; })
}
fun main():int {