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

17
modules/core/assert.owa Normal file
View file

@ -0,0 +1,17 @@
(namespace assert
(defmacro ok! [] (if (bool.and $%&)
:true
(throw! "assertion failed")))
(defmacro not! [] (if (bool.and $%&)
(throw! "assertion failed")
:true))
(defmacro eq! [] (if-eq $(%&)
:true
(throw! "assertion failed")))
(defmacro nq! [] (if-eq $(%&)
(throw! "assertion failed")
:true))
)