Documentación
Versión v0.4.0
Aprende el lenguaje, consulta una construcción o dale a tu agente su referencia. Cada página corresponde a la versión indicada en ella.
Esta página aún no está traducida; los enlaces de abajo llevan a las páginas en inglés.
Empezar
Get startedInstall Una, write a contract, watch it fail and fix it, then build a native executable.en inglésEditor setupDiagnostics and formatting in your editor, through the language server.en inglés
Guías
Aprender
Una by ExampleEl libro: programas pequeños y completos, una idea por página.en inglésExamplesComplete packages to check, test and run, from the smallest.en inglés
Guía del lenguaje
At a glanceEdition 0.2 on one page, with a link to each construct.en inglésLexical structureNames, literals, comments and indentation.en inglésModules and importsSplit a package into modules and import between them.en inglésKinds and typesRecords, variants, refined types and units of measure.en inglésFunctions and contractsWrite a function and say what it requires and ensures.en inglésExpressions and control flowConditions, pattern matching, loops and blocks.en inglésErrorsFailures are values: declare them, raise them, handle them.en inglésCapabilities and effectsSay what a function may touch outside the program.en inglésInformation flowLabel sensitive data and keep it where it belongs.en inglésRequirementsTie a contract to the requirement it comes from.en inglésExamples as testsExamples in the source that run as tests.en inglésVerificationWhat una check proves, and what it reports when it cannot.en inglésCanonical formOne way to write each program: what una fmt does.en inglésA complete packageA whole package read from top to bottom.en inglésNot in this editionWhat edition 0.2 leaves out, and where a later edition adds it.en inglés
Referencia
Standard libraryThe types and functions every program has.en inglésCommand lineEvery una command and its options.en inglésConfigure a packageThe files of a package and every key they take.en inglésDiagnosticsEach diagnostic code: what it means and how to fix it.en inglésSpecificationThe normative text, chapter by chapter.en inglés
Interfaz para agentes
Una for agentsThe full guide for an agent that writes, checks and repairs Una.en inglésUna, compactThe language in one page, sized for an agent's context.en inglésThe loopThe cycle an agent repeats: format, check, fix, test.en inglésJSON outputThe JSON each command returns, and how to read a diagnostic.en inglésRepairsThe fixes a diagnostic proposes, in the order to try them.en inglésBuild reportWhat a build proved, trusted and assumed, as one document.en inglésSchemasThe schemas of the JSON documents the tools print.en inglés