From 94f7083f139f3d6aebead1b8947db78e7e76e03f Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Mon, 26 Oct 2026 19:28:41 -0500 Subject: [PATCH] Publish anon-7558aab26c/gcd-check-202610270028 from Allen Allen item fb7ab67b3fd6401da431 Main 4f405e1093b923d8252cead889c4669b7e0c3cdf --- .../gcd-check-202610270028/README.md | 12 ++++++++++++ .../anon-7558aab26c/gcd-check-202610270028/gcd.om | 8 ++++++++ .../gcd-check-202610270028/meta.json | 14 ++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 projects/anon-7558aab26c/gcd-check-202610270028/README.md create mode 100644 projects/anon-7558aab26c/gcd-check-202610270028/gcd.om create mode 100644 projects/anon-7558aab26c/gcd-check-202610270028/meta.json diff --git a/projects/anon-7558aab26c/gcd-check-202610270028/README.md b/projects/anon-7558aab26c/gcd-check-202610270028/README.md new file mode 100644 index 0000000..0aa1698 --- /dev/null +++ b/projects/anon-7558aab26c/gcd-check-202610270028/README.md @@ -0,0 +1,12 @@ +# GitHub save path check + +Verification save of a gcd function, made to prove the Save on GitHub button on aienos.com/aien/ works. + +gcd.om is scalar Omega in IR mode. To build it with the pinned seeded compiler and the IR to WebAssembly translator: + +```sh +{ printf 'ir\n'; cat gcd.om; } | omc > gcd.ir +irwasm < gcd.ir > gcd.wasm +``` + +Learn about Omega: https://www.aienos.com/omega/ diff --git a/projects/anon-7558aab26c/gcd-check-202610270028/gcd.om b/projects/anon-7558aab26c/gcd-check-202610270028/gcd.om new file mode 100644 index 0000000..80f3f11 --- /dev/null +++ b/projects/anon-7558aab26c/gcd-check-202610270028/gcd.om @@ -0,0 +1,8 @@ +fn gcd a ulong b ulong to ulong +while ne b 0 bound 100 +t = rem a b +a = b +b = t +end +ret a +end \ No newline at end of file diff --git a/projects/anon-7558aab26c/gcd-check-202610270028/meta.json b/projects/anon-7558aab26c/gcd-check-202610270028/meta.json new file mode 100644 index 0000000..2db58f1 --- /dev/null +++ b/projects/anon-7558aab26c/gcd-check-202610270028/meta.json @@ -0,0 +1,14 @@ +{ + "built_with": "Aien", + "description": "Verification save of a gcd function, made to prove the Save on GitHub button on aienos.com/aien/ works.", + "files": [ + "README.md", + "gcd.om" + ], + "handle": "anon-7558aab26c", + "item": "fb7ab67b3fd6401da431", + "project": "gcd-check-202610270028", + "saved": "2026-10-27", + "title": "GitHub save path check", + "v": 1 +}