Skip to main content

Language specification

This chapter covers the following topics:

Lexical structure

  • Basic syntax
    • code comments
    • whitespace
    • splitting lines using |

Type system

Execution model

  • Variables: local variables, FUNC parameters, MODULE members, CLASS members
  • Functions: MODULE functions, CLASS functions, assembly functions (CHOMBIT and INTRINSIC)
  • Statements: assignment, function call, RETURN, LOOP/DROP/LIFT, IF, BREAK
  • Expressions: literal values, operators, function-like operators such as TO_BYTE(X)

Scopes

Memory management