Asama 8.2 — Implement array and pointer type support #62

Closed
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.
saqut closed this issue 2026-06-14 21:53:13 +03:00
Sign in to join this conversation.
No description provided.