This commit is contained in:
2020-11-14 15:27:09 -07:00
parent 2383d8c8c0
commit 27db700268
3 changed files with 12 additions and 0 deletions

View File

@@ -17,6 +17,11 @@ class SpecialForms {
expr: EBlock([for (bodyExp in args) convert(bodyExp)])
};
map["nth"] = (args:Array<ReaderExp>, convert:ExprConversion) -> {
pos: Context.currentPos(),
expr: EArray(convert(args[0]), convert(args[1]))
};
return map;
}
}