Ezhil-Language-Foundation / Ezhil-Lang

எழில் - ஒரு தமிழ் நிரலாக்க மொழி; தமிழ் மாணவர்களுக்கு இது முதல்முறை கணிப்பொறி நிரல் ஏழுத உதவும் (Ezhil, is a fun Tamil programming language for K-12).
http://ezhillang.org/
GNU General Public License v3.0
170 stars 46 forks source link

parsing nested if statements has bugs today #54

Closed arcturusannamalai closed 9 years ago

arcturusannamalai commented 9 years ago

'''Some flavors''' of if statements can show errors. We need exhaustive testing for this to validate the current implementation.

e.g. Can you make 2,3,4,5 ... n level nested if-statements and check if they parse and evaluate correctly ?

The following works, but we need more variants like this to be tested in suite; @( 0 < 1 ) ஆனால் பதிப்பி "will print 0/1" @( 0 < 3 ) ஆனால் பதிப்பி "will print 0/3" முடி @( 0 > 3 ) ஆனால் பதிப்பி "wont print 0/3" முடி முடி

msathia commented 9 years ago

can it be elaborated? Unanble to see the issue

arcturusannamalai commented 9 years ago

Duplicated by parse error for while statement within a if statement. bug

70