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
@@ -0,0 +1,16 @@
// time-comparison.el Duration < Duration is type-checked at codegen time.
// Both operands are DurationLits (postfix literals). Codegen routes through
// el_duration_lt; the runtime returns 1 when 5.minutes < 1.hour holds.
// `test` is reserved; using `run_test` instead.
fn run_test() -> Bool {
return 5.minutes < 1.hour
}
fn main() -> Void {
if run_test() {
println("1")
} else {
println("0")
}
}