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] Structure instantiation for a local scope

frankhart2018 opened this issue · comments

Is your feature request related to a problem? Please describe.
Instantiating structure in simC.

Example
Assuming structure hello already defined:-

hello h

Todo

  1. Make changes in variable declaration in parser to take this into account, creating a new opcode might be helpful.
  2. Compile the code according to this newly created opcode.

Sir I am very much interested to contribute on this project but just wanted to confirm that by the structure, you mean the linked lists structure or you anything else

Yeah structures in C. This issue is for implementation of structure instantiation. Implementation of structure declaration is done, you can take a look at that to get a better idea. Would you like to work on this?

yeah sure

Assigning this to you @aum-singhal.