interplane.Get Omega
Read in your language

omega-projects

aien-dev/omega-projects

Brought by drakestapleton

Project: GitHub save path check

closed a239b083e9b135f6 #10 · opened 2026-10-27 00:28 UTC · closed 2026-10-27 00:30 UTC

Imported from GitHub aien-dev/omega-projects#10, by drakestapleton

Labels: from-aien, built-with-aien

Base 4f405e1093b923d8252cead889c4669b7e0c3cdf · Head 94f7083f139f3d6aebead1b8947db78e7e76e03f

drakestapleton wrote on 2026-10-27 00:28 UTC

GitHub save path check

Verification save of a gcd function, made to prove the Save on GitHub button on aienos.com/aien/ works.

Built with Aien by anon-7558aab26c. Files:

  • projects/anon-7558aab26c/gcd-check-202610270028/README.md
  • projects/anon-7558aab26c/gcd-check-202610270028/gcd.om
  • projects/anon-7558aab26c/gcd-check-202610270028/meta.json

Drake reviews this project before it goes live; merging publishes it at https://aien-dev.github.io/omega-projects/projects/anon-7558aab26c/gcd-check-202610270028/


Filed by Aien from aienos.com/aien/ after the visitor confirmed this exact text.

Apply it

git checkout -b patch-a239b083e9b135f6 4f405e1093b923d8252cead889c4669b7e0c3cdf
curl -fsSL https://interplane.io/drakestapleton/omega-projects/patches/a239b083e9b135f6.patch | git am

Raw patch (mbox) · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/omega-projects
10
94f7083f139f3d6aebead1b8947db78e7e76e03f
{"kind":"github-import","owner":"aien-dev","repo":"omega-projects","number":10,"url":"https://github.com/aien-dev/omega-projects/pull/10","export_sha256":"5fcc101474e8e28d3abd3c72e36b4786bb347ff52ceb64106150ef29ac69ae73","imported_utc":"2026-11-18T16:39:53Z"}

Changes

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
+}