AutoIt+
  • Overview
  • Getting started
  • The language
    • Basic
    • Grammar
      • Expressions
      • Statements
      • Declarations
    • Operators
    • Variables
    • Types & values
      • Null
      • Booleans
      • Numbers
      • Strings
      • Functions
      • Classes
      • Pointers
    • Control flow
      • If statement
      • For loop
      • While loop
      • Break & continue
      • Error handling
    • Collections
      • Array
        • APIs
        • Implementation
      • Map
        • APIs
        • Implementation
    • Modules
    • Exceptions
  • Built-in modules
    • C
      • APIs
      • Constants
    • Math
      • APIs
      • Constants
    • Task
      • Types
      • APIs
    • Global
  • The aup
    • Compiler
    • Runtime
    • Options
Powered by GitBook
On this page

Was this helpful?

  1. The language

Grammar

This page provides grammar for the language.

Please ignore this page if you have no knowledge about programming language grammar.

program := decl*
decl := useDecl
      | classDecl
      | funcDecl
      | varDecl
      | letDecl
      | stmt
stmt := blockStmt
      | breakStmt
      | continueStmt
      | forStmt
      | ifStmt
      | putsStmt
      | returnStmt
      | throwStmt
      | whileStmt
      | (assign | modifying | call)
expr := array
      | assign
      | binary
      | call
      | logical
      | map
      | modifying
      | primary
      | ternary
      | unary
      | variable
primary := IDENTIFIER
         | NUMBER
         | STRING
         | LITERAL
PreviousBasicNextExpressions

Last updated 3 years ago

Was this helpful?