release 0.1.0

This commit is contained in:
rus07tam 2026-05-06 12:21:06 +03:00
commit 30d94536a9
90 changed files with 7722 additions and 0 deletions

16
modules/core/test.owa Normal file
View file

@ -0,0 +1,16 @@
(namespace test
(def target (lookup __test__ null))
(defmacro if-target [then]
(if-eq (test.target null) :null (seq $%%)))
(defmacro case [name] (test.if-target
(builtins.errors.try
(scope $%& (trace "Running test \"" $name "\": OK ✅"))
#(trace "Running test \"" $name "\": FAILED ❌ (" %2 ": " %1 ")"))))
(defmacro space [name] (if
(bool.or (eq? test.target $name) (eq? test.target "."))
(namespace $name (seq $%&))
))
)