Keyword Index

Every reserved word, symbol and builtin name in the language, each linked to every reference entry it shows up in. It's generated, not written by hand: the keywords, contextual words and punctuation are read straight out of the railroad diagrams on Syntax, and the rest comes from the other reference pages - so a keyword appears here exactly when the grammar uses it. A name that means more than one thing (for both starts a loop and appears in implement ... for, in both part of for and an operator) lists all of them.

Keywords

The words that start a definition, statement, or part of one. Reserved everywhere.

break
Syntax: Break
const
context
continue
Syntax: Continue
defer
Syntax: Defer
else
Syntax: If, Inline If
enum
error
Syntax: Error
field
function
global
Syntax: Define
if
inject
Syntax: Inject
interface
let
Syntax: Let
local
Syntax: Define
match
Syntax: Match
method
reject
Syntax: Reject
return
Syntax: Return
set
Syntax: Set
struct
then
type
union
yield
Syntax: Yield

Contextual words and word operators

Words the grammar gives meaning to only at particular spots (then/else in if, with in error), plus the operators spelled as words.

and
Operators: a and b
as
Operators: a as b
await
Operators: await a
band
Operators: a band b
bor
Operators: a bor b
bxor
Operators: a bxor b
false
iff
Operators: a iff b
in
Syntax: For
Operators: a in b
is
Operators: a is b
lambda
Syntax: Lambda
macro
not
Operators: not a
or
Operators: a or b
shl
Operators: a shl b
shr
Operators: a shr b
skipping
Syntax: For
true
until
Syntax: For
while
Syntax: For
with
Syntax: Error
xor
Operators: a xor b

Symbols and punctuation

Every piece of punctuation the grammar uses, and every builtin operator spelled with symbols (including their other spellings).

-
Operators: a - b, -a
-%
Operators: a -% b
-|
Operators: a -| b
!
Operators: a ! b
!!
Operators: a!!
!?
Operators: a !? b
!?.
Operators: a!?.b
!?()
Operators: a!?(b)
!?[]
Operators: a!?[b]
!.
Operators: a!.b
!()
Operators: a!(b)
![]
Operators: a![b]
!=
Operators: a != b
!>
Operators: a !> b
!|>
Operators: a !|> b
?
Operators: a?
?!
Operators: a ?! b
??
Operators: a ?? b
?.
Operators: a?.b
?()
Operators: a?(b)
?[]
Operators: a?[b]
?>
Operators: a ?> b
?|>
Operators: a ?|> b
.
Operators: a.b
..
Operators: ..a
..<
Operators: a..<b
..=
Operators: a..=b
'''
"""
()
Operators: a(b)
[]
Operators: a[b]
{{{
{}
Syntax: Block
}}}
*
Operators: a * b
*/
Syntax: Comment
*%
Operators: a *% b
*|
Operators: a *| b
/
Operators: a / b
/*
Syntax: Comment
//
Operators: a // b
///
Syntax: Comment
&
Operators: a & b
%
Operators: a % b
^
Operators: a ^ b
⇔
Operators: a ⇔ b
+
Operators: a + b, +a
+%
Operators: a +% b
++
Operators: a ++ b
+|
Operators: a +| b
÷
Operators: a ÷ b
×
Operators: a × b
<=
Operators: a <= b
=
Syntax: Set
Operators: a = b
≠
Operators: a ≠ b
==
Operators: a == b
>=
Operators: a >= b
¬
Operators: ¬a
|
Operators: a | b
|>
Operators: a |> b
||
||>
Operators: a ||> b
~
Operators: ~a
∘
Operators: a ∘ b
√
Syntax: Root
∧
Operators: a ∧ b
∨
Operators: a ∨ b
≤
Operators: a ≤ b
≥
Operators: a ≥ b
⊻
Operators: a ⊻ b
0b
0d
0o
0x
λ
Syntax: Lambda

Attributes

Every attribute the language defines. Any other @word is inert metadata.

@async
Attributes: @async
@component
Attributes: @component
@deprecated
@effects
@entity
@inject
Attributes: @inject
@injectGlobally
Attributes: @injectGlobally
@injectLocally
Attributes: @injectLocally
@inline
Attributes: @inline
@main
Attributes: @main
@memoize
Attributes: @memoize
@native
Attributes: @native
@parallel
Attributes: @parallel(unsafe?)
@phase
@post
@pure
Attributes: @pure
@reads
Attributes: @reads(..contexts)
@singleton
Attributes: @singleton
@slow
Attributes: @slow
@state
Attributes: @state
@test
Attributes: @test(..stages)
@testHelper
@writes
Attributes: @writes(..targets)

Macros

Builtin macro namespaces, their members, and the embedded languages.

#builtin
Macros: #builtin
#builtin.functions
#builtin.implementation
#builtin.implementations
#builtin.interfaces
#builtin.intrinsic
#builtin.operators
#builtin.primitiveTypes
#builtin.structs
#comptime
Macros: #comptime
#comptime.braceCall
#comptime.call
#comptime.definitionsWith
#comptime.program
#comptime.typeof
#context
Macros: #context
#format
Macros: string macro
#regex
Macros: string macro
#runtime
Macros: #runtime
#runtime.braceCall
#runtime.call
#runtime.typeof

Context values

Every value the language provides through the context.

Types and interfaces

Every builtin type and interface name.

Allocator
Interfaces: interface
AmpereHour
Arcminute
Arcsecond
ArgumentField
Arguments
Array
ASCII
Atmosphere
AudioFormat
BigInteger
BiMap
Bitwise
Interfaces: interface
Boolean
Bounded
Interfaces: interface
BritishThermalUnit
Callable
Interfaces: interface
Cancellation
Canvas2d
Castable
Interfaces: interface
Centimeter
Channel
Clock
Interfaces: interface
Clone
Interfaces: interface
Collection
Interfaces: interface
Color
CommandResult
Comparable
Interfaces: interface
Compression
Concatenable
Interfaces: interface
Copy
Interfaces: interface
CubicCentimeter
CubicFoot
CubicMeter
Cursor
Database
Interfaces: interface
Date
DateTime
Decimal
Default
Interfaces: interface
Definition
DefinitionKind
Deque
DomEvent
Duration
Easing
Electronvolt
Element
EmptyError
Environment
Interfaces: interface
Equatable
Interfaces: interface
EventQueue
F16
F32
F64
Fahrenheit
FileChange
FileChangeKind
FileSystem
Interfaces: interface
FileWatcher
Float
FluidOunce
FootPerSecond
FromIterable
Interfaces: interface
FromString
Interfaces: interface
Function
Gen
Gigahertz
Gpu
Types: type (GPU)
GpuBindGroup
Types: type (GPU)
GpuBuffer
Types: type (GPU)
GpuBufferUsage
Types: type (GPU)
GpuCanvas
Types: type (GPU)
GpuComputePass
Types: type (GPU)
GpuComputePipeline
Types: type (GPU)
GpuCullMode
Types: type (GPU)
GpuIndexFormat
Types: type (GPU)
GpuPipeline
Types: type (GPU)
GpuPipelineOptions
Types: type (GPU)
GpuRenderPass
Types: type (GPU)
GpuShader
Types: type (GPU)
GpuTexture
Types: type (GPU)
GpuTextureFormat
Types: type (GPU)
GpuTopology
Types: type (GPU)
GpuVertexAttribute
Types: type (GPU)
GpuVertexFormat
Types: type (GPU)
GpuVertexLayout
Types: type (GPU)
GpuVertexStep
Types: type (GPU)
Hashable
Interfaces: interface
Hectopascal
Horsepower
HttpClient
Interfaces: interface
HttpRequest
Image
ImageFormat
Indexable
Interfaces: interface
IndexError
InputStream
Interfaces: interface
Instant
Integer
Interface
Interfaces: interface
Iterable
Interfaces: interface
Iterator
Json
JsValue
Kilocalorie
Kilohertz
Kilojoule
Kilometer
KilometerPerHour
Kilonewton
Kilopascal
KilowattHour
Lambda
Listener
Logger
Interfaces: interface
Logical
Interfaces: interface
LruCache
MegabitPerSecond
Megahertz
Megajoule
Megapascal
MeterPerSecond
MeterPerSecondSquared
Method
Microfarad
Microgram
Micrometer
Microsecond
MilePerHour
Milliampere
MilliampereHour
Milligram
Milliliter
Millimeter
MillimeterOfMercury
Millimole
Millisecond
Millivolt
Milliwatt
Mutex
Nanofarad
Nanometer
Nanosecond
NauticalMile
Network
Never
Noise
Number
Numeric
Interfaces: interface
Ordering
OutputStream
Interfaces: interface
OverflowError
Page
PanicHandler
Interfaces: interface
ParseError
Per
Picofarad
Pointer
PoundForce
PoundPerSquareInch
PriorityQueue
Product
Promise
Quantity
Quaternion
Queue
Random
Interfaces: interface
Range
Rational
RcPointer
Rect
Request
Response
RevolutionPerMinute
RoundingMode
Scalable
Interfaces: interface
Semaphore
SharedCounter
SharedMap
SharedValue
SignedInteger
Sized
Interfaces: interface
SnapshotStore
Interfaces: interface
SortedMap
SquareCentimeter
SquareFoot
SquareInch
SquareKilometer
SquareMeter
SquareMile
Stack
StandardGravity
Steppable
Interfaces: interface
String
StringBuilder
Table
TimeOfDay
Timer
TimeZone
Toml
ToString
Interfaces: interface
Trilean
Type
Undefined
Unknown
UnsignedInteger
UTF16
UTF32
UTF8
VideoEncoder
VideoFormat
WeakPointer
WebSocket
WebStorage
Weekday
Window
Yaml

Functions

Builtin free functions, and the namespaces whose functions are called on their name. A type's own functions and methods are on its card.

baseName
Functions: free function
cartesian
Functions: free function
chain
Functions: free function
clone
Functions: free function
compare
Functions: free function
compose
Functions: free function
constant
Functions: free function
count
Functions: free function
dirName
Functions: free function
enumerate
Functions: free function
exit
Functions: free function
extension
Functions: free function
formatplanned
Functions: free function
hash
Functions: free function
identity
Functions: free function
iterate
Functions: free function
joinPath
Functions: free function
Math
memoize
Functions: free function
panic
Functions: free function
pipe
Functions: free function
range
Functions: free function
repeat
Functions: free function
swap
Functions: free function
todo
Functions: free function
toString
Functions: free function
typeOf
Functions: free function
unreachable
Functions: free function
zip
Functions: free function