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 committed 2016-07-09 23:52:32 -07:00
1 parent c633cb5b04
commit 523526f40e
3 files changed
+96 -12

No files matched your search

+1
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> {