Runtime

Input, output, and CSV

Runtime-host output, pauses, and strict numeric CSV files.

01

EN / PT: Structured data and files

EN: Stage 4 adds JSON, scalar Unicode text/UTC datetime, UTF-8 text/lines, numeric byte vectors, headered CSV/XLSX tables and 8-bit PNG/JPEG image I/O. See /language/data-and-files for exact signatures, shape/nullable rules, host limits and executable EN/PT examples. This does not expand readmatrix/writematrix beyond headerless numeric CSV, add general Excel formats, N-D images, web bridges or a filesystem sandbox.

PT: Etapa 4 adiciona JSON, texto Unicode/datetime UTC escalares, texto/linhas UTF-8, vetores numericos de bytes, tabelas CSV/XLSX com cabecalho e PNG/JPEG de 8 bits. Veja /language/data-and-files para assinaturas, formas/null, limites e exemplos EN/PT. readmatrix/writematrix continuam CSV numerico sem cabecalho; sem Excel geral, imagens N-D, pontes web ou sandbox.

02

Output and pauses

disp(value) writes and flushes one line. pause supports timed waits, interactive waits, and on/off/query session state.

03

Numeric CSV

CSV is UTF-8, comma-separated, headerless, and numeric. Rows must be rectangular; whitespace and a UTF-8 BOM are accepted.

Sun
A = readmatrix("data.csv");
writematrix(A * 2, "result.csv");
04

Filesystem behavior

Writes replace regular files atomically and reject symlink destinations. Paths are relative to the process or Studio project context. CSV is interpreter-only and depends on runtime-host filesystem access.

Sun is proprietary software under experimental development. Documentation scope: Sun 0.6 development snapshot.