Improve arg parsing a bit, including parsing arbitrary flags for later use. Got (after a bunch of linker pain solved by just linking in LLVM-3.8 plain and not messing with llvm-config at all) a LLVM example working

This commit is contained in:
Nathan Braswell
2016-07-09 23:52:32 -07:00
parent c633cb5b04
commit 523526f40e
3 changed files with 96 additions and 12 deletions

View File

@@ -239,6 +239,7 @@ obj string (Object, Serializable) {
out.add(current)
return out
}
fun first(): char return data.first()
fun last(): char return data.last()
fun lines(): vector::vector<string> return split('\n')
fun split(delim: char): vector::vector<string> {