From a000fdd6ed8b2ce60b728f040d814d433de6dc16 Mon Sep 17 00:00:00 2001 From: ibx34 Date: Fri, 22 Nov 2024 22:22:04 -0500 Subject: [PATCH] pycache shouldnt be here --- __pycache__/ast.cpython-313.pyc | Bin 26150 -> 0 bytes ast.py | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) delete mode 100644 __pycache__/ast.cpython-313.pyc diff --git a/__pycache__/ast.cpython-313.pyc b/__pycache__/ast.cpython-313.pyc deleted file mode 100644 index ce4ad8f5e72b9d58853a91eb5bb324ce5c6b95ef..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 26150 zcmchAdvIIVdFQ=&1H^+Q_yFJFLn0xHq#l&@mQ1}xQKUr>u^iH7KoXK@Q=oDI*%qrL znn{zAv0PDhT!FP)QB%)~ob`_BnaqTl&9=(!bgImBw?HT_kh^N5Z92Q7-Pu_>Wa{LP zZuj?{gM0B1NV-khGsL;)o^$Sbeb4iq2Ul!1ivV};P{+l8b5Ia|PA`fxB?BvxMiAZ; zyn@Wd#BNTDt!1%|h;2%Xtz)qs z#BNE8t!J^#h~1hN+rVO55Zjs-yNSiNA$D6@>}D3b9kDyoVjEfPPQAYH?vraNx)O!rF{RL_C@@RPU^#GL=dP<~0R3SX2Qs#wjk5M)a4hH>~1A~LIWpMEF z_{h~U3R?#Uzk1a_mP~OB4qh0QLgBH|U?4b-WbNthK3VJS>y?WK2SZ_hcyxHs9}Y{S zLs!Fr(BPotK=~{9337d#FBFhMZLeMpg-3&JN3Wrf5o!F&)nItk-{ud6Td!P`tjNhc zYGH`pzAYpyc{h&2`{q%pR7uV~5~q;7_DFd3lF@6BOkSg8_L?M%*DU3EEt1unC)vDK z$?mmD4zHa^Q7X8Y?LU79Jos4{zQeDFVjG$Jw(TviV5I(KFtz z4(}=1e!|y%wC{9J_h3hFZ_kUe?u9O&SJoY)H0!Y*-;u84gZx`d&kM)92VdyuJ>D(n z9qsDz9#>vig7=&cNwSrv@Hc4_HDEJ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qKqEAqjF1@;-D8d*TCF<&_MSO3N^^0U{TR#gd6)%;b?3pI?*4bemiB$_D2cg}zB1 zO*8q`xo0U9Adig;ZJ3aCBcsD%zM7rVDcC69r;L9<9w`=Fhlx|@33*HvVcHQ>bN+$i z_-Z#wl}OR%-E<)&n-1`Qm2gPfgH-$pp-K45T2T~#Ce;76;QVibq%MpXGWdHfJ-P-FQ3`+Y?>S9&nwNM=Q9D`vP%@} zr*ZEX9uXV{#^W;+E~J?}`pvEz;;O+a)=zq;8zZ&1x2y_yS*_kFx+hPp3V5uJi6+rD zxpP&(W4Xj6ZjR`2N4XV17B|lo&xIC_Ejky67hRupN866XJVzgl#5|ppd-HOML3Bpi zXB%erFAE6HwXf3S^Fp)unn(?MP5j(dF4lgA4Slt%`wU|1^fAiOx{4e=aTeL>x#}{D zo2SufJXT#s(KCrI;IUd{77tAJQTzdlKS+7-SS_-Mz2dZPRiNi;xkjv{7d%!iX7Mn6 cjmN6XAa3LJZCfq;hDI!%{L(K4dNN4;f1}T8vH$=8 diff --git a/ast.py b/ast.py index 0c19f8a..eea0a68 100644 --- a/ast.py +++ b/ast.py @@ -447,19 +447,20 @@ def parse(self) -> Expr | None: if expr is None or not isinstance(expr, Parameter): self.at -= 1 break - body = self.parse() if body is None: raise Exception(f"Lambda must have body {self.current()}") popped = self.results.pop() if not isinstance(popped, Identifier): return popped - + + self.using_st = 0 result = Assignment( self.current_number_of_advances, popped, Lambda(self.current_number_of_advances, lambda_symbol_table, body), ) + # At this point, past previous parsing, we should have advanced past # the last token and now be face-to-face with the rare, elusive, OP! c = self.current()