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
+19
View File
@@ -0,0 +1,19 @@
// char-classes.el ASCII character classification.
// is_letter("A") && is_digit("7") && is_whitespace(" ")
// && !is_letter("3") && !is_digit("X")
fn run_test() -> Bool {
if !is_letter("A") { return false }
if !is_digit("7") { return false }
if !is_whitespace(" ") { return false }
if is_letter("3") { return false }
if is_digit("X") { return false }
return true
}
fn main() -> Void {
if run_test() {
println("true")
} else {
println("false")
}
}