Registry Mirror
Skip to content

Support loops #10

Open
Open

Description

@Maxcode123

Support loop statements.

  1. Add production rules in grammar (src/syntax/classical.y)
  2. Define classes for loop statements in src/syntax/ast/nodes.h
  3. Write build methods for loop statements (src/syntax/ast/builder.cpp)
  4. Write unit tests for build methods (tests/unit/ast/test_builder.cpp)
  5. Call build methods on production rule actions (src/syntax/classical.y)
  6. Write integration tests for parser (tests/integration/syntax/test_parser.cpp)

Activity

  1. added
    enhancement
    on Aug 12, 2023
  2. added this to the Compiler v2 milestone on Aug 12, 2023
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

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions