Skip to content

Support classes #8

Description

@Maxcode123

Currently there is no support for classes in classic programs.

  1. In src/syntax/ast/nodes.h populate the class-related classes with the appropriate arguments (see grammar file, classical.y).
  2. Implement the build methods of the builder (src/syntax/ast/builder.cpp).
  3. Write unit tests for the builder methods (tests/unit/ast/test_builder.cpp)
  4. Call builder on production rule actions (classical.y)
  5. Write integration tests for the parser (tests/integration/syntax/test_parser.cpp)

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

    enhancementNew feature or request

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions