Mojo language reference
Welcome to the Mojo language reference. This documentation provides a concise reference for Mojo's syntax—identifiers, keywords, literals, expressions, operators, statements, function declarations, and more. It's organized by grammar construct and is designed for quick lookup when you need the exact rules, precedence, or form of a specific language element.
Identifiers & keywords
Literals
Expressions
Operators
Simple statements
Compound statements
Function declarations
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!