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] Add structure declaration

frankhart2018 opened this issue · comments

Describe the solution you'd like
To add support only struct line has to be parsed as we use a selectively recursive recursive descent parser which does not require unnecessary recursion.

Todo

  1. Identify struct as a keyword
  2. Parse the line - struct
  3. Compile the line - struct

For reference look at implementation of loops and function definition.

I would like to work on this issue, please assign me.