diff --git a/version1.0/choose.txt b/version1.0/choose.txt new file mode 100644 index 0000000..f439d4e --- /dev/null +++ b/version1.0/choose.txt @@ -0,0 +1,25 @@ +if(this_token.type==__if) +{ + parse.push(this_token); + return; +} +elsif(this_token.type==__elsif) +{ + parse.push(this_token); + return; +} +elsif(this_token.type==__elsif) +{ + parse.push(this_token); + return; +} +elsif(this_token.type==__elsif) +{ + parse.push(this_token); + return; +} +else +{ + parse.push(this_token); + return; +} \ No newline at end of file diff --git a/version1.0/loop.txt b/version1.0/loop.txt index 9aa55a6..f69e350 100644 --- a/version1.0/loop.txt +++ b/version1.0/loop.txt @@ -1,5 +1,7 @@ while(n==1 ) { + i=i+1; + f(i); print("str"); } @@ -8,4 +10,9 @@ while(n==1 and "str"==str) print("str"); } -i+=i1; \ No newline at end of file +i+=i1; +i+=i.i[0]; +i=i.i[0].i(0); +var hash={ + f:func {var e=1;return 0;}, +}; \ No newline at end of file