sim-c
sim-c copied to clipboard
[FEATURE] Extend array declaration to handle multi-D arrays.
Describe the solution you'd like Current array declaration implementation handles only 1-D arrays, but when multi-D arrays are created it generates very weird code. Extend the array declaration implementation to support multi-dimensional arrays.
Warning Array declaration already done in #344
Declaration var <name_array>[<int | void>]
Examples:
var name[2] = {1, 2}
var name[] = {1, 2}
var name[2]
I would like to work on this issue.
@Dhruv-Rathi All yours!
I am actually new to git-hub so can you please help me understand the issue.
@Dhruv-Rathi You already ready careful the README.md file? There some instruction there to follow first. Install simc, use it, try do some of question "Write simc code from the section issues". The issue properly is about add a feature to simc. The feature is let simc declare matrix, until now only arrays are allowed. If it is much, go search one question with tag easy first.