From 70ce284cab67fca1959425eefd9e7fce14d689e8 Mon Sep 17 00:00:00 2001 From: Valk Richard Li <48872266+ValKmjolnir@users.noreply.github.com> Date: Tue, 24 Sep 2019 09:42:02 -0500 Subject: [PATCH] test file --- version1.0/choose.txt | 25 +++++++++++++++++++++++++ version1.0/loop.txt | 9 ++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 version1.0/choose.txt 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