Introduction

March 17, 2026 ยท View on GitHub

It contains specifications of Rave.

Since the language is currently under active development, we decided to combine the documentation and specification into one section "specifications" for convenience.

Lexical

Lexical analysis splits the source code of the program into tokens for subsequent parsing.

The source text can be in the following encodings:

  • ASCII;
  • UTF-8.

There are two types of comments: single-line and multi-line.

Multilines start with /* and end with */. Single-lines start with //.

Strings are indicated by text enclosed in double quoted (""). The characters are enclosed in single quotes (").

Grammar

Commands
Declarations
Types
Operators

Standard library

std/arg
std/ascii
std/blas
std/crypto
std/cstring
std/error
std/hash
std/http
std/io
std/json
std/library
std/locale
std/map
std/math
std/memory
std/prelude
std/process
std/pthread
std/random
std/socket
std/sort
std/stack
std/string
std/sysc
std/system
std/thread
std/time
std/unicode
std/utf
std/vector

Other

RaveDoc