gooo A small program / your inputs

TRY THE TUTORIAL

Change an input.
See the Gooo result.

This program brings a score into the range 0–100 and returns a labelled record. Try the four tutorial examples, then use your own values.

The fixed Gooo source below is compiled to WebAssembly. This page runs new inputs; it does not compile source edits. No installation, account or model is needed.

Loading the program and its source…

1 / CHOOSE YOUR INPUTS

An exact signed 64-bit decimal integer, from -9223372036854775808 to 9223372036854775807. No rounding or truncation.

Text is used without trimming. In JSON string mode, include double quotes; for example "line\r\nnext\u0000".

See the label passed to Gooo

            

This JSON view shows CR, LF and NUL as escapes. Other Unicode characters may remain invisible. A normal text editor may convert CR/CRLF to LF; JSON string mode preserves explicit escapes. Native JSON decoding replaces unpaired UTF-16 surrogates with U+FFFD. Valid pairs, BOMs and combining marks are preserved.

The label input and returned Text each allow up to 1,024 UTF-8 bytes. The program adds : low or : high, so a long accepted input can still produce an output-limit error. Inputs are never shortened to make them fit.

Choose an example or edit the inputs, then run.

2 / Returned record

NOT RUN

Your result will appear here.

Every value comes from the compiled Gooo program. A successful run is an observation of these inputs, not a proof for all inputs.

3 / READ IT, THEN MAKE IT YOURS

Two Gooo files. One small program.

main.gooo imports limits.gooo. The workspace joins them and selects Describe. These are the exact source files used for this build.

Loading the original source…

Change the code on your computer

The download contains both sources, the portable workspace, the four original inputs, instructions and their license notice. Follow the native instructions to install the pinned compiler and Go 1.27.2. Then edit a condition or the label suffix and execute again.

Replace the original inputs.json with your downloaded input to reproduce this request. Create a new execution record after changing source; a saved replay keeps its source fixed.

Build identity and execution evidence

Build identity will appear after loading.

The browser checks the program and displayed source against this build’s SHA-256 hashes. These hashes bind the files to the supplied manifest; they are not a separate publisher signature.

Example by asketeddy, prepared with OpenAI Codex assistance, under CC BY-SA 3.0. Full notice. The Learn X in Y Minutes contribution is pending independent review; this page does not imply its approval or endorsement.