cimplec/sim-c

[FEATURE] Assignment of structure members

frankhart2018 opened this issue · 0 comments

Describe the solution you'd like
Assigning structure members using dot operator.

Example
Assuming hello struct defined and instantiated in a variable h:-

h.a_var = 1

Todo

  1. Identify the dot operator
  2. Make changes in variable assignment in parser, adding a new opcode will help.
  3. Compile C code according to the newly generated opcode.