On this page:
Rhombus
8.15.0.4

Rhombus🔗ℹ

Rhombus is a general-purpose programming language with conventional expression syntax that is built on Racket and that is macro-extensible in the same way as Racket.

This document is a general guide to Rhombus. For complete specification, see The Rhombus Reference.

    1 Rhombus Essentials

      1.1 Notation

      1.2 Modules, Variables, and Functions

      1.3 Classes and Patterns

      1.4 Annotations and the Dot Operator

      1.5 Optional and Keyword Arguments

      1.6 Conditionals and Pattern-Matching Dispatch

      1.7 Operators

      1.8 Variables and Values

      1.9 Namespaces

    2 Collections and Iteration

      2.1 Lists

      2.2 Arrays

      2.3 Maps

      2.4 Sets

      2.5 Repetitions

      2.6 Iteration

      2.7 More Function Arguments

      2.8 Function Shorthand and Pipelines

    3 Syntax Objects and Macros

      3.1 Syntax Objects

      3.2 Expression Macros

      3.3 Definition and Declaration Macros

      3.4 Binding and Annotation Macros

      3.5 Annotations versus Binding Patterns

      3.6 Syntax Patterns and Classes

    4 Classes and Interfaces

      4.1 Subclasses

      4.2 Interfaces

      4.3 Methods

      4.4 Fields and Properties

      4.5 Constructors

      4.6 Binding and Annotation

      4.7 Private Fields and Methods

      4.8 Private Implementation

      4.9 Class Namespaces

      4.10 Mutual Dependencies

    5 Static Information and Binding

      5.1 Representing Static Information

      5.2 Rules for Static Information

      5.3 Annotations and Static Information

      5.4 Binding Low-Level Protocol

      5.5 Annotations as Converters