restructure: move el compiler content into lang/

This commit is contained in:
Will Anderson
2026-05-05 01:38:51 -05:00
parent ce68f91a38
commit 1ae68962cf
143 changed files with 0 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
// split-lines.el \n-delimited split, \r\n folded, trailing empty dropped.
// "alpha\nbeta\r\ngamma\n" -> ["alpha", "beta", "gamma"], len = 3.
fn run_test() -> Int {
let lines: [String] = str_split_lines("alpha\nbeta\r\ngamma\n")
return native_list_len(lines)
}
fn main() -> Void {
println(int_to_str(run_test()))
}