Asama 8.2 — Implement array and pointer type support #62

Open
opened 2026-05-26 19:53:08 +03:00 by saqut · 0 comments
Owner

Goal: Support int[], int*, array indexing, and pointer arithmetic.

Files to modify:

  • src/parser/parser.hpp, ast.hpp
  • src/symbol/, src/backend/

Requirements:

  • int arr[10]; array declaration, arr[i] indexing.
  • int* p; pointer declaration, *p dereference, &x address-of.
  • Type checking for pointer/array operations.

Success criteria:

  • Array declaration and indexing work.
  • Pointer declaration, assignment, dereference work.
**Goal:** Support int[], int*, array indexing, and pointer arithmetic. **Files to modify:** - src/parser/parser.hpp, ast.hpp - src/symbol/, src/backend/ **Requirements:** - int arr[10]; array declaration, arr[i] indexing. - int* p; pointer declaration, *p dereference, &x address-of. - Type checking for pointer/array operations. **Success criteria:** - Array declaration and indexing work. - Pointer declaration, assignment, dereference work.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: saqut/saqut-compiler#62
No description provided.