optimize codes

This commit is contained in:
ValKmjolnir
2022-07-19 23:55:12 +08:00
parent cfbec9a3f1
commit cc4ff38f28
8 changed files with 100 additions and 103 deletions

View File

@@ -193,7 +193,7 @@ var bf=func(program)
}elsif(c==','){
for(var j=0;j<size(stack);j+=1)
f~='\t';
f~="paper[ptr]=input();\n";
f~="paper[ptr]=input()[0];\n";
}elsif(c=='.'){
for(var j=0;j<size(stack);j+=1)
f~='\t';

View File

@@ -44,10 +44,10 @@ println(z.numb);#//1
println(z.listt[2][1]);#//hello
println(z1.hashh.listt[2][1]);#//hello
println(y2[3].hashh.listt[2][1]);#//hello
println(f);#//func(...){...}
println(f);#//func(..){..}
f();#//f is called
println(z.funcc);#//func(...){...}
println(z.funcc);#//func(..){..}
z.funcc();#//f is called
println(z.funcccall);#//func(...){...}
println(z.funcccall);#//func(..){..}
z2.listt2[3].hashh.funcc();#//f is called
println(y1[f2()][w]);#//hello