Actusv0.3.0
  • Docs
  • Install
  • Releases (opens in a new tab)
  • Introduction
  • Getting started
  • Language basics
  • Error codes
    • Lexer & parser
    • Ownership & types
    • Modules & rules
    • Strict & toolchain
  • Tools
  • VS Code extension
Docs
Install
Releases (opens in a new tab)
GitHub
  1. Documentation
  2. Error codes
  3. Lexer & parser

Lexer & parser

View source

Diagnostics reported while scanning tokens and parsing Actus source syntax, literals, metadata, and declarations. (E0001–E0028, 28 codes).

Diagnostics reported while scanning tokens and parsing Actus source syntax, literals, metadata, and declarations. Use actus explain E#### in your terminal to read any entry offline.

28 codesE0001–E0028
E0001unexpected characterE0002unterminated string literalE0003unexpected tokenE0004unexpected end of inputE0005duplicate name in a declarationE0006unknown metadata attributeE0007unsupported target platformE0008metadata not allowed on this declarationE0009unknown keywordE0010conflicting target platformsE0011file-scoped limitless metadata in the wrong placeE0012unsupported limitless scopeE0013duplicate metadata attributeE0014malformed verb contractE0015open import outside an import blockE0016fault metadata without test metadataE0017test metadata on a declaration that is not a verbE0018must-use metadata on a verb without a resultE0019unsupported effectE0020invalid bounded execution limitE0021unsupported capabilityE0022unsupported representationE0023invalid stack limitE0024unterminated documentation stringE0025invalid integer typeE0026invalid hexadecimal literalE0027invalid float typeE0028invalid string escape

Previous

Error codes

Next

Ownership & types