Reference

Language overview

Semantic blocks at a glance — the Point language reference starting point.

Summary

Point source is organized as semantic blocks. Each block has a dedicated page in this guide with syntax, semantics, and examples from the examples/ directory.

New here? Point in 60 secondsGolden app demo.

Block map

BlockPurposeGuide page
record, variantNamed data shapes and tagged unionsRecords, Types
calculationPure derived valuesCalculations
ruleScoring and accumulationRules
labelClassification to text or other typesLabels
TypesText, Int, List<T>, Maybe<T>, unionsTypes
Loops and mutationfor each, add to, set toControl flow
module, useMulti-file programsModules
external, action, policyEffects and boundariesEffects
view, page, layout, navigationUI and app shellsUI
route, middlewareHTTP handlersRoutes
stream routeWebSockets and live viewsRealtime
workflow, schedule, commandOrchestration and CLIWorkflows
pipeline, session, prompt, guardAgent orchestrationAgents

First commands

point check examples/math.point
point box examples/command.point
point launch examples/command.point hello cli
point index examples/math.point

Agent note

Run point index <file> to list every declaration with a point://semantic/ ref. Use those refs in explain and repair loops instead of line numbers.

See also