-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Feature Request: Array Support
Background:
This project requires adding support for one-dimensional arrays. The goal is to enable correct parsing and handling of arrays with multiply dimensions in the compiler, covering declaration, assignment, and element access.
Scope:
- Support parsing array declarations like
int a[10]; - Ensure array element access works in expressions and statements
- Handle semantic checks related to array bounds and type safety
Approach:
- Update the grammar rules to allow multi-dimensional array syntax
- Update symbol table logic to store array information
- Make type checks for index expressions and assignments
- Implement code generation for array access
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request