Skip to content

Commit 5ab35d6

Browse files
authored
Update ti.html
1 parent 0d99835 commit 5ab35d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

true/ti.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
}; document.getElementById("program").innerHTML = decodeURIComponent(pusch.join('')) }
99
function main(){
1010
code=document.getElementById("program").value; input=document.getElementById("input").value.split("\n")
11-
p=0; output=''; s=[]; ts=[]; /* m=0;*/ cons=output+'\nSTACK: ['+s+']\nTEMPSTACK: ['+ts+']\nBYTES: '+code.length
12-
num=["0","1","2","3","4","5","6","7","8","9"]; perma="https://thevitebsk-github-io.vercel.app/true/ti.html#c="+encodeURIComponent(document.getElementById("program").value)
11+
p=0; output=''; s=[]; ts=[]; /* m=0;*/
12+
num=["0","1","2","3","4","5","6","7","8","9"]
1313
while (code.length>p){
1414
//i will focus on the strings later
1515
//if (code[p]=='"'){ m=1 ; p++ };
@@ -19,8 +19,8 @@
1919
else if (code[p]=="-"){if (s.length>0){ s.pop()} else { break } }
2020
//else if (code[p]=="\n"){ break }
2121
p++
22-
} ; if (perma!=="https://thevitebsk-github-io.vercel.app/true/ti.html#c="){ cons += "\nPERMALINK: "+perma }
23-
document.getElementById("console").innerHTML=cons
22+
}
23+
document.getElementById("console").innerHTML=output+'\nSTACK: ['+s+']\nTEMPSTACK: ['+ts+']\nBYTES: '+code.length
2424
}
2525
</script>
2626
<style>

0 commit comments

Comments
 (0)