Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 594 Bytes

names.md

File metadata and controls

18 lines (12 loc) · 594 Bytes

Names (Identifiers)

Names are used to identify variables, functions, modules, and other entities in Lej.

Naming Format

Names in Lej must adhere to the following rules:

  1. A name cannot be a reserved keyword.
    • This is self-enforcing. If a name is a reserved keyword, it will be rejected by the parser.
  2. A name must start with a lowercase letter.
  3. A name can contain lowercase letters, uppercase letters, or numbers after the first character.
  4. Nothing else is allowed.

This is known as the camelCase naming convention.