Skip to content

Commit 4258af6

Browse files
authored
Update ti.html
1 parent 6039060 commit 4258af6

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

true/ti.html

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
<title>true.js</title>
22
<script>
3-
pusch=[]
4-
while (put.length>p){ if (put[p+1]=="c"){ p++ ; while (put.length>p){ pusch.push(put[p]) ; p++ } } }
3+
pusch=[]; put = window.location.hash
4+
if (put){
5+
while (put.length>p){
6+
if (put[p+1]=="c"){
7+
p++; while (put.length>p){
8+
pusch.push(put[p]) ; p++
9+
}
10+
}
11+
}
12+
}
513
document.getElementById("program").InnetHTML = pusch
614
function main(){
7-
code = document.getElementById("program").value ; input = document.getElementById("input").value.split("\n") ; put = window.location.hash
8-
p = 0 ; output = '' ; s = [] ; ts = [] /*; m = 0*/ ; cons = output+'\nSTACK: ['+s+']\nTEMPSTACK: ['+ts+']\nBYTES: '+code.length
9-
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)
10-
p=0
15+
code = document.getElementById("program").value; input = document.getElementById("input").value.split("\n")
16+
p = 0; output = ''; s = []; ts = []; /*; m = 0*/ cons = output+'\nSTACK: ['+s+']\nTEMPSTACK: ['+ts+']\nBYTES: '+code.length
17+
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)
1118
while (code.length>p){
1219
//i will focus on the strings later
1320
//if (code[p]=='"'){ m=1 ; p++ };

0 commit comments

Comments
 (0)