Compiler Implementation — Part 1

This section lists the portions of the Gazprea specification that must be implemented to complete the part 1 of the compiler implementation. All developers are advised to read the full specification for the language prior to start the implementation of Part 1 because decisions made while implementing Part 1 can make the implementation of Part 2 significantly more challenging. Thus, planning ahead for Part 2 is the recommended strategy.

  1. Comments

  2. Types

  3. Type Support

  4. Statements

  5. Expressions

    • unary+, unary-, not

    • ^

    • *,/,%

    • +,-

    • <,>,<=,>=,==,!=

    • and

    • or, xor

    • Variable references

    • Literal Values

    • Tuple reference

    • Function calls

  6. Errors

    • SyntaxError

    • SymbolError

    • TypeError

    • AliasingError

    • AssignError

    • MainError

    • ReturnError

    • GlobalError

    • StatementError

    • CallError

    • DefinitionError

    • MathError