Skip to content

Conversation

SIGMazer
Copy link
Member

Description

This PR introduce the implementation of multi dimensional arrays

Limitation

In the current state we cannot use this syntax

rizz arr[3][3] = {
    {1, 2, 3}, 
    {4, 5, 6}, 
    {7, 8, 9}
};
rizz arr[][3] = {
    {1, 2, 3}, 
    {4, 5, 6}, 
    {7, 8, 9}
};

or

rizz arr[] = {
   1,
   2
};

Related Issue

Fixes #96

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Performance improvement
  • Refactor

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have documented my changes in the code or documentation
  • I have added tests that prove my changes work (if applicable)
  • I have run the unit tests locally
  • I have run the valgrind memory tests locally
  • All new and existing tests pass

@SIGMazer SIGMazer requested a review from leo-aa88 March 31, 2025 21:34
Signed-off-by: SIGMazer <mazinasd7@gmail.com>
@leo-aa88
Copy link
Member

SHIP IT LET'S GOOOOOO

@SIGMazer SIGMazer merged commit c4b17aa into main Apr 25, 2025
2 checks passed
@SIGMazer SIGMazer deleted the feat/arrays branch April 25, 2025 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for two-dimensional arrays
2 participants