interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / train / omega-llm / tools / combined / solve

9 lines · 294 bytes Raw Blame History
1#!/bin/sh
2set -eu
3umask 077
4[ "$#" = 1 ] || [ "$#" = 2 ] || { echo 'usage: solve PROMPT [NUMERIC_EXAMPLES]' >&2; exit 2; }
5kit=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
6work=$(mktemp -d)
7trap 'rm -rf -- "$work"' EXIT
8trap 'exit 1' HUP INT TERM
9"$kit/combined" "$kit" "$work" "$kit/omc" "$@"