On this page:
The Rhombus Reference
8.15.0.12

The Rhombus Reference🔗ℹ

For a general overview of the language, see Rhombus.

 #lang rhombus package: rhombus-lib

Unless otherwise specified at the start of a section, the bindings described in this manual are exported by the rhombus language.

The bindings described in Meta and Macros, in particular, are not provided by rhombus, but are instead provided by rhombus/meta or rhombus/and_meta.

    1 Notation and Conventions

      1.1 Shrubbery Notation

      1.2 Metavariables

      1.3 Documentation Entries

        1.3.1 Documenting Syntactic Forms

        1.3.2 Documenting Methods

        1.3.3 Namespaces and Modules

        1.3.4 Classes and Fields

      1.4 Naming Conventions

    2 Implicits and Context

      2.1 Implicit Forms

      2.2 Static and Dynamic Lookup

      2.3 Static by Default

      2.4 Unsafe Mode

    3 Names and Definitions

      3.1 Modules and Submodules

      3.2 Namespaces

      3.3 Import

      3.4 Export

      3.5 Block

      3.6 Definitions

      3.7 Multiple Values

      3.8 Mutable Variables and Assignment

    4 Functions and Operators

      4.1 Functions

      4.2 Function Calls

      4.3 Function Annotations

      4.4 Operators

      4.5 Recursion

    5 Comparison and Branching

      5.1 Conditionals

      5.2 Matching

      5.3 Annotations

      5.4 Equality

      5.5 Unit Testing

    6 Objects and Annotations

      6.1 Classes

      6.2 Interfaces

      6.3 Veneers

      6.4 Dot

      6.5 Enumerations

    7 Basic Data

      7.1 Booleans

      7.2 Numbers

        7.2.1 Flonums

        7.2.2 Fixnums

      7.3 Characters

      7.4 Strings

      7.5 Keywords

      7.6 Symbols

      7.7 Byte Strings

      7.8 Boxes

      7.9 Source Locations

      7.10 Void

    8 Collections and Iteration

      8.1 Lists

      8.2 Pairs and Pair Lists

      8.3 Mutable Lists

      8.4 Arrays

      8.5 Maps

      8.6 Sets

      8.7 Repetitions

      8.8 Iteration

      8.9 Ranges

    9 Object Protocols

      9.1 Indexables

      9.2 Listables

      9.3 Sequences

      9.4 Appendables

      9.5 Comparables

      9.6 Printables

      9.7 Callables

      9.8 Closeables

      9.9 Serializables

        9.9.1 Serialization and Deserialization

    10 Higher-Order Control

      10.1 Errors

      10.2 Exceptions

      10.3 Continuations

      10.4 Context Parameters

    11 Code as Data

      11.1 Syntax Objects

      11.2 Syntax Classes

      11.3 Simple Expression Macros

      11.4 Eval

    12 String Formatting and Matching

      12.1 String Formatting

      12.2 Regular Expressions

        12.2.1 Regexp Patterns

        12.2.2 Regexp Character Sets

        12.2.3 Regexp Objects

        12.2.4 Regexp Match Results

    13 Input and Output

      13.1 Ports

      13.2 Input Ports

      13.3 Output Ports

      13.4 File/Stream Ports

      13.5 Pipes

      13.6 Printing

      13.7 Shrubbery Input

    14 Operating System

      14.1 Paths

        14.1.1 Runtime Paths

      14.2 Cross-Platform Paths

      14.3 Filesystem

      14.4 Subprocesses

      14.5 System Information and Control

    15 Threads and Concurrency

      15.1 Threads

      15.2 Semaphore

    16 Runtime System

      16.1 Memory Management

      16.2 Measuring Time and Space

      16.3 Random Number Generation

    17 Meta and Macros

      17.1 Meta Definitions and Expressions

      17.2 Spaces

      17.3 Namespace Space

      17.4 Definition Macros

      17.5 Declaration Macros

      17.6 Expression Macros

      17.7 Assignment Macros

      17.8 Binding Macros

      17.9 Annotation Macros

      17.10 Static Information

      17.11 Dot Providers

      17.12 Repetition Macros

      17.13 Operator Orders

      17.14 Form-Specific Macros

        17.14.1 Import Macros

        17.14.2 Export Macros

        17.14.3 For Clause Macros

        17.14.4 Sequence Macros

        17.14.5 Reducer Macros

        17.14.6 Class, Interface, and Veneer Clause Macros

        17.14.7 Unquote Binding Macros

        17.14.8 Syntax Class Clause Macros

        17.14.9 Syntax Pattern Clause Macros

        17.14.10 Entry Point Macros

        17.14.11 Immediate Callee Macros

        17.14.12 Map Configurations

      17.15 Syntax Objects in Macros

      17.16 Syntax Parameters

      17.17 Syntax Object Maps

      17.18 Documentation Metadata