remoo69 / Compiler-Sheesh

Compiler for the self-developed language Sheesh#.
MIT License
2 stars 1 forks source link

Issue with arithmetic expressions as sequence index #43

Closed jldav1d closed 2 weeks ago

jldav1d commented 4 weeks ago

Code: Expected: No Syntax Errors

sheesh(){
    whole w[id+0] = {1,1,1}#
 }

Actual: Line 2, Token 10: Unexpected "=" [=], expected -> ['#', ',', '[']

remoo69 commented 2 weeks ago

ambiguous dahil may index din sa w_var_seq_tail and w_vardec_tail

remoo69 commented 2 weeks ago

issue resolved by removing one_dim from w_vardec_tail