﻿# Basic syntax

> For the complete documentation index, see [llms.txt](/llms.txt)

This section covers the lexical and surface syntax of Motoko: how to define an actor, write functions, declare identifiers, use literals and operators, and the conventions for comments and whitespace.
