Skip to content

Implement syntactical analysis of the Python SDK #4

Description

@dieriver

Description

While compiling the code, the compilation process needs to preform a small syntactical analysis of the code being compiled. Since we will take advantage of the python interpreter to perform a "first layer" syntactical analysis, this analysis needs to go beyond that.

Tasks

  • Implement correctness of the types declarations, i.e. the qoala values are created within ranges, checking signedness, etc.
  • Implement type checking on the operations, i.e. check that the operations receive and return the correct types.

Definition of done

  • The types and operations implement a syntactical analysis when reading the qoala code.
  • A set of unit tests that check the correctness of this analysis.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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