Baseline: tree as shared

This commit is contained in:
alexm committed 2026-10-05 03:03:38 +00:00
commit 31f2fb8a5a
1679 files changed
+1024562

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
def status_word(ready: Int, armed: Int) -> Int:
return ready & armed
def main():
var READY = 1
var ARMED = 2
var flags = status_word(READY, ARMED)
print("armed:", (flags & ARMED) != 0)