Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Extend array declaration to handle multi-D arrays. #391

Open
frankhart2018 opened this issue Dec 10, 2020 · 4 comments
Open

[FEATURE] Extend array declaration to handle multi-D arrays. #391

frankhart2018 opened this issue Dec 10, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request moderate Moderate problem

Comments

@frankhart2018
Copy link
Member

frankhart2018 commented Dec 10, 2020

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]

@frankhart2018 frankhart2018 added enhancement New feature or request moderate Moderate problem KWoC'20 These issues are being listed as part of KWoC'20 labels Dec 10, 2020
@Dhruv-Rathi
Copy link

I would like to work on this issue.

@Math-O5
Copy link
Collaborator

Math-O5 commented Dec 11, 2020

@Dhruv-Rathi All yours!

@Math-O5 Math-O5 assigned Math-O5 and Dhruv-Rathi and unassigned Math-O5 Dec 11, 2020
@Dhruv-Rathi
Copy link

I am actually new to git-hub so can you please help me understand the issue.

@Math-O5
Copy link
Collaborator

Math-O5 commented Dec 11, 2020

@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.

@frankhart2018 frankhart2018 removed the KWoC'20 These issues are being listed as part of KWoC'20 label Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request moderate Moderate problem
Projects
None yet
Development

No branches or pull requests

3 participants