We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 519e20c commit e3fe3b9Copy full SHA for e3fe3b9
true/tpy.py
@@ -4,7 +4,7 @@
4
try: i = open(sys.argv[2]).readlines()
5
except: i=[]
6
except: print(f"Usage: python {__file__.split(chr(0x5c))[-1]} \"(file name)\"");exit()
7
-p = 0; ts = []; s = []
+p = 0; ts = []; s = []; ld = []
8
if not code : code = " "
9
while 1:
10
if code[p] == '"' :
@@ -20,6 +20,9 @@
20
elif code[p] == "-" : s.pop()
21
elif code[p] == "`" : s.append(int(s.pop())*-1)
22
elif code[p] == ":" : s.append(s[-1])
23
+ elif code[p] == '(' :
24
+ p+=1; s.append(code[p : code.index(')', p)])
25
+ p=code.index(')', p)
26
if code[p] == "\n" : break
27
if len(code) == p +1 : p = -1
28
p += 1
0 commit comments