cimplec / sim-c

A dynamically typed high-level front end for C

Home Page:https://cimplec.github.io/docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEATURE] Redundant code in array_initializer (array_parser.py)

frankhart2018 opened this issue · comments

Describe the solution you'd like
The array initializer list parsing can be done using expression function but has been implemented again which is redundant. Update array_initializer in array_parser.py to use expression() from sim_parser.py to parse expression instead of repeating the same logic.

Hi there! @frankhart2018
Can I work on this?

Sure @Chasmiccoder. Assigning this to you.

@Chasmiccoder I don't know if it is important, but i_temp we use name idx on others files.