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

55
modules/std/platform.owa Normal file
View file

@ -0,0 +1,55 @@
(namespace platform
(def os-name builtins.platform.os-name)
(def os-family builtins.platform.os-family)
(def arch builtins.platform.arch)
(def argv builtins.platform.argv)
(def executable #(vec.get (argv) 0))
(def args #(vec.slice (argv) 1 (vec.len (argv))))
(def debug? (lookup __is_debug__ false))
(def os-names [
:linux
:windows
:macos
:android
:ios
:openbsd
:freebsd
:netbsd
:wasi
:hermit
:aix
:apple
:dragonfly
:emscripten
:espidf
:fortanix
:uefi
:fuchsia
:haiku
:hermit
:watchos
:visionos
:tvos
:horizon
:hurd
:illumos
:l4re
:nto
:redox
:solaris
:solid_asp3
:vexos
:vita
:vxworks
:xous
])
(def os-families [
:unix
:windows
:itron
:wasm
])
)