Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Latest commit

 

History

History
59 lines (52 loc) · 1.14 KB

GRAMMAR.md

File metadata and controls

59 lines (52 loc) · 1.14 KB

Definition: Function Definition: func (<expression.assignment>): {

    }

Control Statement: If Statement: if <Expression.Comparison> <Expression.Comparison> { } Else Statement: else {

    }
While Loop:
    while <Expression.Comparison>
    {

    }
For Loop:
    for <expression.assignment.int> to <value.int>
    {

    }

Assignment: Assignment: = var =

Operation: Comparison: Double Operators: ==, !=, <<, >>, <=, >= Extension Operators: ||, && Binary: Operators: +, -, /, *, ^

Value: String: "" Float: . Char: '' Int: Variable Identifier: Function Call: ()