Skip to content

Project Status: grammar #20

@PoetaKodu

Description

@PoetaKodu

Project status - grammar

Modules

  • use statement
    • as aliasing
  • submodules (mod keyword)
  • access specifiers
    • pub
    • pub(<level>)

Functions

  • no parameters and no explicit return type
  • with parameters
  • with explicit return type

Variables

  • no explicit type & no initializer
  • no explicit type & with initializer
  • with explicit type

Expressions

  • general expression rule
  • literals
    • integer
    • real
    • string
    • character
    • boolean

Control flow

  • return statement (ret keyword)
  • conditions
    • if statement
    • else statement
    • match statement
  • loops
    • loop
    • while
    • for

User types

  • structures
    • inheritance
    • virtual functions and overrides
  • interfaces
  • variants
  • enums
  • untagged unions (in unsafe block)

Generics and templates

// TODO

Macros

// TODO

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions