From 4127c6c3f0e0fadb3506bd02480e36305f41abb8 Mon Sep 17 00:00:00 2001 From: wacksientrist <82042695+wacksientrist@users.noreply.github.com> Date: Tue, 9 May 2023 11:17:43 -0400 Subject: [PATCH] Delete Orchid directory --- .../Comp1/Instance.dSYM/Contents/Info.plist | 20 --- .../Contents/Resources/DWARF/Instance | Bin 11503 -> 0 bytes Orchid/Code/Comp1/Instance.py | 52 -------- Orchid/Code/Comp1/Instrc_n.txt | 0 Orchid/Code/Comp1/Instrc_r.txt | 1 - Orchid/Code/Comp1/Instrc_s.txt | 1 - Orchid/Code/Comp1/start.bat | 7 -- Orchid/Code/Comp1/start.sh | 1 - Orchid/Code/Comp2/Instance | Bin 34053 -> 0 bytes Orchid/Code/Comp2/Instance.c | 87 ------------- .../Comp2/Instance.dSYM/Contents/Info.plist | 20 --- .../Contents/Resources/DWARF/Instance | Bin 11389 -> 0 bytes Orchid/Code/Comp2/Instance.py | 53 -------- Orchid/Code/Comp2/Instrc_n.txt | 0 Orchid/Code/Comp2/Instrc_r.txt | 1 - Orchid/Code/Comp2/Instrc_s.txt | 1 - Orchid/Code/Comp2/start.bat | 4 - Orchid/Code/Comp2/start.sh | 1 - Orchid/Code/Comp3/Instance | Bin 34053 -> 0 bytes Orchid/Code/Comp3/Instance.c | 89 ------------- .../Comp3/Instance.dSYM/Contents/Info.plist | 20 --- .../Contents/Resources/DWARF/Instance | Bin 11503 -> 0 bytes Orchid/Code/Comp3/Instance.py | 49 -------- Orchid/Code/Comp3/Instrc_n.txt | 0 Orchid/Code/Comp3/Instrc_r.txt | 5 - Orchid/Code/Comp3/Instrc_s.txt | 0 Orchid/Code/Comp3/start.bat | 7 -- Orchid/Code/Comp3/start.sh | 1 - Orchid/Code/Comp4/Instance | Bin 34053 -> 0 bytes Orchid/Code/Comp4/Instance.c | 87 ------------- .../Comp4/Instance.dSYM/Contents/Info.plist | 20 --- .../Contents/Resources/DWARF/Instance | Bin 11389 -> 0 bytes Orchid/Code/Comp4/Instance.py | 50 -------- Orchid/Code/Comp4/Instrc_n.txt | 0 Orchid/Code/Comp4/Instrc_r.txt | 5 - Orchid/Code/Comp4/Instrc_s.txt | 0 Orchid/Code/Comp4/start.bat | 4 - Orchid/Code/Comp4/start.sh | 1 - Orchid/Code/Comp5/Instance | Bin 34053 -> 0 bytes Orchid/Code/Comp5/Instance.c | 89 ------------- .../Comp5/Instance.dSYM/Contents/Info.plist | 20 --- .../Contents/Resources/DWARF/Instance | Bin 11503 -> 0 bytes Orchid/Code/Comp5/Instance.py | 49 -------- Orchid/Code/Comp5/Instrc_n.txt | 0 Orchid/Code/Comp5/Instrc_r.txt | 5 - Orchid/Code/Comp5/Instrc_s.txt | 0 Orchid/Code/Comp5/start.bat | 7 -- Orchid/Code/Comp5/start.sh | 1 - Orchid/Code/Comp6/Instance | Bin 34053 -> 0 bytes Orchid/Code/Comp6/Instance.c | 89 ------------- .../Comp6/Instance.dSYM/Contents/Info.plist | 20 --- .../Contents/Resources/DWARF/Instance | Bin 11503 -> 0 bytes Orchid/Code/Comp6/Instance.py | 49 -------- Orchid/Code/Comp6/Instrc_n.txt | 0 Orchid/Code/Comp6/Instrc_r.txt | 5 - Orchid/Code/Comp6/Instrc_s.txt | 0 Orchid/Code/Comp6/start.bat | 7 -- Orchid/Code/Comp6/start.sh | 1 - Orchid/Code/Public/Compiler.py | 36 ------ Orchid/Code/Public/Dig1.py | 117 ------------------ Orchid/Code/Public/Lib1.py | 36 ------ Orchid/Code/Public/Lib1.so | Bin 34068 -> 0 bytes Orchid/Code/Public/Sample.py | 14 --- .../Public/__pycache__/Lib1.cpython-310.pyc | Bin 1189 -> 0 bytes .../Public/__pycache__/Lib1.cpython-311.pyc | Bin 1822 -> 0 bytes .../Public/__pycache__/Paths.cpython-310.pyc | Bin 357 -> 0 bytes .../Public/__pycache__/Paths.cpython-311.pyc | Bin 527 -> 0 bytes Orchid/Code/Public/lib.c | 72 ----------- Orchid/Code/__pycache__/Lib1.cpython-311.pyc | Bin 2323 -> 0 bytes Orchid/Code/__pycache__/Paths.cpython-311.pyc | Bin 631 -> 0 bytes Orchid/compile.py | 39 ------ Orchid/int.sh | 17 --- Orchid/start.bat | 10 -- Orchid/start.sh | 2 - 74 files changed, 1272 deletions(-) delete mode 100644 Orchid/Code/Comp1/Instance.dSYM/Contents/Info.plist delete mode 100644 Orchid/Code/Comp1/Instance.dSYM/Contents/Resources/DWARF/Instance delete mode 100644 Orchid/Code/Comp1/Instance.py delete mode 100644 Orchid/Code/Comp1/Instrc_n.txt delete mode 100644 Orchid/Code/Comp1/Instrc_r.txt delete mode 100644 Orchid/Code/Comp1/Instrc_s.txt delete mode 100644 Orchid/Code/Comp1/start.bat delete mode 100644 Orchid/Code/Comp1/start.sh delete mode 100644 Orchid/Code/Comp2/Instance delete mode 100644 Orchid/Code/Comp2/Instance.c delete mode 100644 Orchid/Code/Comp2/Instance.dSYM/Contents/Info.plist delete mode 100644 Orchid/Code/Comp2/Instance.dSYM/Contents/Resources/DWARF/Instance delete mode 100644 Orchid/Code/Comp2/Instance.py delete mode 100644 Orchid/Code/Comp2/Instrc_n.txt delete mode 100644 Orchid/Code/Comp2/Instrc_r.txt delete mode 100644 Orchid/Code/Comp2/Instrc_s.txt delete mode 100644 Orchid/Code/Comp2/start.bat delete mode 100644 Orchid/Code/Comp2/start.sh delete mode 100644 Orchid/Code/Comp3/Instance delete mode 100644 Orchid/Code/Comp3/Instance.c delete mode 100644 Orchid/Code/Comp3/Instance.dSYM/Contents/Info.plist delete mode 100644 Orchid/Code/Comp3/Instance.dSYM/Contents/Resources/DWARF/Instance delete mode 100644 Orchid/Code/Comp3/Instance.py delete mode 100644 Orchid/Code/Comp3/Instrc_n.txt delete mode 100644 Orchid/Code/Comp3/Instrc_r.txt delete mode 100644 Orchid/Code/Comp3/Instrc_s.txt delete mode 100644 Orchid/Code/Comp3/start.bat delete mode 100644 Orchid/Code/Comp3/start.sh delete mode 100644 Orchid/Code/Comp4/Instance delete mode 100644 Orchid/Code/Comp4/Instance.c delete mode 100644 Orchid/Code/Comp4/Instance.dSYM/Contents/Info.plist delete mode 100644 Orchid/Code/Comp4/Instance.dSYM/Contents/Resources/DWARF/Instance delete mode 100644 Orchid/Code/Comp4/Instance.py delete mode 100644 Orchid/Code/Comp4/Instrc_n.txt delete mode 100644 Orchid/Code/Comp4/Instrc_r.txt delete mode 100644 Orchid/Code/Comp4/Instrc_s.txt delete mode 100644 Orchid/Code/Comp4/start.bat delete mode 100644 Orchid/Code/Comp4/start.sh delete mode 100644 Orchid/Code/Comp5/Instance delete mode 100644 Orchid/Code/Comp5/Instance.c delete mode 100644 Orchid/Code/Comp5/Instance.dSYM/Contents/Info.plist delete mode 100644 Orchid/Code/Comp5/Instance.dSYM/Contents/Resources/DWARF/Instance delete mode 100644 Orchid/Code/Comp5/Instance.py delete mode 100644 Orchid/Code/Comp5/Instrc_n.txt delete mode 100644 Orchid/Code/Comp5/Instrc_r.txt delete mode 100644 Orchid/Code/Comp5/Instrc_s.txt delete mode 100644 Orchid/Code/Comp5/start.bat delete mode 100644 Orchid/Code/Comp5/start.sh delete mode 100644 Orchid/Code/Comp6/Instance delete mode 100644 Orchid/Code/Comp6/Instance.c delete mode 100644 Orchid/Code/Comp6/Instance.dSYM/Contents/Info.plist delete mode 100644 Orchid/Code/Comp6/Instance.dSYM/Contents/Resources/DWARF/Instance delete mode 100644 Orchid/Code/Comp6/Instance.py delete mode 100644 Orchid/Code/Comp6/Instrc_n.txt delete mode 100644 Orchid/Code/Comp6/Instrc_r.txt delete mode 100644 Orchid/Code/Comp6/Instrc_s.txt delete mode 100644 Orchid/Code/Comp6/start.bat delete mode 100644 Orchid/Code/Comp6/start.sh delete mode 100644 Orchid/Code/Public/Compiler.py delete mode 100644 Orchid/Code/Public/Dig1.py delete mode 100644 Orchid/Code/Public/Lib1.py delete mode 100644 Orchid/Code/Public/Lib1.so delete mode 100644 Orchid/Code/Public/Sample.py delete mode 100644 Orchid/Code/Public/__pycache__/Lib1.cpython-310.pyc delete mode 100644 Orchid/Code/Public/__pycache__/Lib1.cpython-311.pyc delete mode 100644 Orchid/Code/Public/__pycache__/Paths.cpython-310.pyc delete mode 100644 Orchid/Code/Public/__pycache__/Paths.cpython-311.pyc delete mode 100644 Orchid/Code/Public/lib.c delete mode 100644 Orchid/Code/__pycache__/Lib1.cpython-311.pyc delete mode 100644 Orchid/Code/__pycache__/Paths.cpython-311.pyc delete mode 100644 Orchid/compile.py delete mode 100644 Orchid/int.sh delete mode 100644 Orchid/start.bat delete mode 100644 Orchid/start.sh diff --git a/Orchid/Code/Comp1/Instance.dSYM/Contents/Info.plist b/Orchid/Code/Comp1/Instance.dSYM/Contents/Info.plist deleted file mode 100644 index 1b60105..0000000 --- a/Orchid/Code/Comp1/Instance.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.Instance - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/Orchid/Code/Comp1/Instance.dSYM/Contents/Resources/DWARF/Instance b/Orchid/Code/Comp1/Instance.dSYM/Contents/Resources/DWARF/Instance deleted file mode 100644 index 11da68873b4fd891e02a699441ba0dc9f2f434c5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11503 zcmeHNYitzP6~4RU8Si-QT|Y3`0m>$Eh@ru2yG}xZ7(3WtuMIf1sR=C^_A#~>uXolv zv%KQQ#L$SgBoL7(1QHrmX^Z+&L--LHDNS3UMxiQHY8rl^rbzkIDlHMIKyB61@7$TO z*K43|kn(G;eCIswIp00^+&g#1JNNuQ|N5Uo##{`g0M&!KO(MxG^Fb<5pB?+o*WZ0| z^}6wq$ffA52V0xLpg%#BL+tk~oOpbH>YqPC$bN>}r`)-A2w8zJNr6DvoV zBNEO57%EC{>*n6+joiO!y3UqFFjVs_g`ybhF2in}i5FODCgu0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TTEi*QnU3Ut0r;2C0<}lNnB_d|AqxgTtuBr#8#1CqZ8mu6J=tDdzWN8L}!8$c`I=^kV9W8ewYz1Ji6+Wganav%6A zvKcRypRoCTrE(1X7fHXrLLRj3zfmoZfbS&zfm(St`1QnpbGf`1{8r+>)g(UyejoAQ zZj%p!KTG_NiS{uXx^kUx}*}4elB=l}b$&f^UU)rMJCo zHI5?*Ue~61z-VCZNj<`^VuG*H>-8c=KWi_;`kM=4IwH6-m*Dey2?gh*ieTGbM#6H4 z1%9N`TkdKvyC3j{BKIy@%!#iIrmLX#yU>mi-3|4_a4MnxyxvBzSmku|B@j*EEK*>H zn%3i5GEmo0Q(IFTsOH*bbq%$UYU;mSQ(s%ZgatS0Fbi%EN3{svD)b>kOW~a&rYb!~ zroTVfmDaYaQ9}=IOh*UfF`JMDy?UhTf?1F9&+vM|rruQUJQl`3g7n7|DvN4KLroeC zLLFV|8J#aOv>`Rgn%SeQ7pHI7#*9I=o-TDP4)e9`ovrx3qMJ0u6nt6P$&~&?ct8gs zWF^wiltiRokMDsH)wH2F(S)Xhr13R|DY~i-!7m**pvpuTKGqoNFj$~vA{qE6`89#2 zNMguD()#;#)nJ*V9v?`mu|RY%oM!r_9Z#j_Xdh>L#I-yR*)eIJ*`|gH7MXTsK~tF%)ZEn3iV@hH|QSc z_9WA}KB9Eikk0mX{o>lcf3&B?xUYKT*#~c=uGj88;C=s-EyX>bq(1(`<)`*U122w# zRX=#?_~jA*_fG8}eeDP5{_!sSK198ST7-_OP*`J^O2f1L|8Am?jIs+dT5cF zc1u{lUcG{6lJ;v-)58er_Gc<6X^i%7Qq$g#9bsL=": - if A > B: - Out = "T" - else: - Out = "F" - if Type == "IF<": - if A < B: - Out = "T" - else: - Out = "F" - fil2.write(str(Out)) - fil2.close() \ No newline at end of file diff --git a/Orchid/Code/Comp1/Instrc_n.txt b/Orchid/Code/Comp1/Instrc_n.txt deleted file mode 100644 index e69de29..0000000 diff --git a/Orchid/Code/Comp1/Instrc_r.txt b/Orchid/Code/Comp1/Instrc_r.txt deleted file mode 100644 index 3d101dc..0000000 --- a/Orchid/Code/Comp1/Instrc_r.txt +++ /dev/null @@ -1 +0,0 @@ -! 123 IF= \ No newline at end of file diff --git a/Orchid/Code/Comp1/Instrc_s.txt b/Orchid/Code/Comp1/Instrc_s.txt deleted file mode 100644 index c137216..0000000 --- a/Orchid/Code/Comp1/Instrc_s.txt +++ /dev/null @@ -1 +0,0 @@ -F \ No newline at end of file diff --git a/Orchid/Code/Comp1/start.bat b/Orchid/Code/Comp1/start.bat deleted file mode 100644 index 26458ae..0000000 --- a/Orchid/Code/Comp1/start.bat +++ /dev/null @@ -1,7 +0,0 @@ -@ECHO OFF - -W: -cd Code -python3 ./Comp1/Instance.py - -PAUSE \ No newline at end of file diff --git a/Orchid/Code/Comp1/start.sh b/Orchid/Code/Comp1/start.sh deleted file mode 100644 index 1e97325..0000000 --- a/Orchid/Code/Comp1/start.sh +++ /dev/null @@ -1 +0,0 @@ -python3 Instance.py \ No newline at end of file diff --git a/Orchid/Code/Comp2/Instance b/Orchid/Code/Comp2/Instance deleted file mode 100644 index dbc7f949aa4782d2354444ba933ca537c7b8c7fd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 34053 zcmeI5e{3AZ702J6?cgLPaS{uMI*_WK} zE_Y|+(5O8cQG%eAw<4860s%#BP@zGzYRn(5T#1(cQ3yu-7HZFJMGaCbs!A1$NYn3| z-Lu!%ghXxs=pXN$-p+e7Z{E&)X7bdsJg<4Fq{6%nL#bSTWFR+RRi5vou$wRGMX>MBSMB8kLoG^0bNOr{H8}4t zo^R|%H{U+5oqfOfb922?BdI$RshCQn;%V(K&Nu1h<27PozdVQA;y!sDCZI}nb@p|t z9g#h~?rNCcCP1mBtYn<5yjHbPr3TZ!Ww>Cz(zwWU`=hItC3r6NY%Uh|*-g9me068n z?$RD9l#L5MOBHVl2#-haAMFu!5EXcQyvma(+C6^~ek*)tvljXx{5q6l-y-@5<#Om= zC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etT03IxhrhT*jSjX&Rma$owoE)Z*vc}P3iXBfN)PUP?bfZa zj`r(X(&WyJ=;PnjOk>4P08?pA>rjVnVBAdsd~E^zi29-UVzl6sJeCOtG5=kKcKD-KjIdN51iJ?zZ|=^SbGyJ0}17=k5jCk1u`n^rKCOyPXFf*fM(J#0`BXt51J> z#nrXXMO3c#2Z@%SRHV<|{DrmKUbw~Vt-SfYktGx9iQ#AOJu_E`Ulyr5eX;!iZTn1c m*IN(O-SPTE_V4>*r#{)T?~#cQ>{tF#f4E_=`^|%`UH<~TUEX*A diff --git a/Orchid/Code/Comp2/Instance.c b/Orchid/Code/Comp2/Instance.c deleted file mode 100644 index 54752b8..0000000 --- a/Orchid/Code/Comp2/Instance.c +++ /dev/null @@ -1,87 +0,0 @@ -#include -#include -#include -#include - -int main() { - while (1) { - FILE *file; - file = fopen("Instrc_n.txt", "r"); - char content[10]; - fgets(content, 10, file); - - if (strcmp(content, "n\n") == 0) { - fclose(file); - usleep(100000); - - FILE *fil1, *fil2; - fil1 = fopen("Instrc_r.txt", "r"); - fil2 = fopen("Instrc_s.txt", "w"); - - char str[100], *token; - fgets(str, 100, fil1); - - token = strtok(str, "!!!!!!!"); - float A = atof(token); - token = strtok(NULL, "!!!!!!!"); - float B = atof(token); - token = strtok(NULL, "!!!!!!!"); - char *Type = token; - - float Out; - if (strcmp(Type, "A") == 0) { - Out = A + B; - } - else if (strcmp(Type, "S") == 0) { - Out = A - B; - } - else if (strcmp(Type, "M") == 0) { - Out = A * B; - } - else if (strcmp(Type, "D") == 0) { - Out = A / B; - } - else if (strcmp(Type, "IF=") == 0) { - if (A == B) { - Out = 'T'; - } - else { - Out = 'F'; - } - } - else if (strcmp(Type, "IF!") == 0) { - if (A == B) { - Out = 'F'; - } - else { - Out = 'T'; - } - } - else if (strcmp(Type, "IF>") == 0) { - if (A > B) { - Out = 'T'; - } - else { - Out = 'F'; - } - } - else if (strcmp(Type, "IF<") == 0) { - if (A < B) { - Out = 'T'; - } - else { - Out = 'F'; - } - } - char Out1[6]; - gcvt(Out, 6, Out1); - fprintf(fil2, "%s", Out1); - fclose(fil1); - fclose(fil2); - } - else { - fclose(file); - } - } - return 0; -} diff --git a/Orchid/Code/Comp2/Instance.dSYM/Contents/Info.plist b/Orchid/Code/Comp2/Instance.dSYM/Contents/Info.plist deleted file mode 100644 index 1b60105..0000000 --- a/Orchid/Code/Comp2/Instance.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.Instance - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/Orchid/Code/Comp2/Instance.dSYM/Contents/Resources/DWARF/Instance b/Orchid/Code/Comp2/Instance.dSYM/Contents/Resources/DWARF/Instance deleted file mode 100644 index 4e2cbdeab3612cf39380d31beb48fe05948da9e7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11389 zcmeHNeQXrR6`#BHuFreE^B2Z;0OcwOF(~!fjvEMAgaaFVXD0^i1WcMP_pxW6eZDWrwM`|eluA{limC~bLfWdOzc;&U zpU*&0kn-1#n0@d4=Djy>-ptON*_rzHKmJ$Fn2Vvvs25c2fnoG z<;S0Y=jh@76A!goI5%YQztXq5hDvzW1&^b2ipmiwX2{h0;lt<_b## z_Jdl%G+fbNVO#}M!f2_Mq1t6;o%Mw8>hA0a+iPUPiiV$pU};_(!&Kk_q#jxfHh zp)DIMEs&!{egbCGr>%)Ag-G$yyF^7%5^5|zsH9UF)s!#qPqPOVAgwDG+g~o48C0>{ zisRFsFym{sTxg50?2B4#e^JX}vA^ev{5^M#{;Xv-C%!4m-wJEIQ`hJ(8jI!BU314P zJ!OvfHEWpC&DS~$tB|DgB^ z{AHu@;`r8C{+3v7)?K4NV{i7d@g*&P?^=sLd5!+G*l?UeD2{L78FRdLd;_;!eY{Sq zlL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UZ+3~tJ4!)n~ngT1-)(x6`h+16me>G~l~d^Ypr;re4?{JTUll~!3? z%NT0LU=Uj9(aPw`kD-mI85UyeSU)bru-?2uwS}dixgp%siLV{HNwZABcaGgmNv5NN zItV#cVo9c?V@W-=4?2YF>+C`@RpC|VV~j8 zG@4@R5z~{FOzNt^@)_RL^OwseF|J~ z5hJ;+4P08o3ZREQq-|hATegG-l)muxPNjcfQ>UV^WLk?FtgA27MX$46t;=kdjQ0R# zc>Kf|zsv(A(xZcgN}(;u#kQAFY#q8IN|oOb1*O}VF5KZ0aEOS^3(o9|Y^YE_CU=Q8 zJ+4nO-LfM}H~;9S-KJOG`|r2*br?4_?tJtUm$Da|Ck}ak_xAS6zPGdIe}C?QeeuAP zWB2NhoPGM-&Wf+Rba3p8U;E|1egV6;P~StP(_#tgYE;_&Q>YWDPoaJr_2;N(QE3mu zKfb%-OIe3Fn1aMNF@kAt1AOB*FCHe8HZ_82pTm8q<6D<}onYGi2&PRD+RH9hj1Wu* z7s0e+Li=RnDxOK&vk9gR4siH0^^`P5dpNmTlaf?)DVFzum$rw(*|m0;Q+38oVkaK-K*KU?V}C76": - if A > B: - Out = "T" - else: - Out = "F" - if Type == "IF<": - if A < B: - Out = "T" - else: - Out = "F" - fil2.write(str(Out)) - fil2.close() diff --git a/Orchid/Code/Comp2/Instrc_n.txt b/Orchid/Code/Comp2/Instrc_n.txt deleted file mode 100644 index e69de29..0000000 diff --git a/Orchid/Code/Comp2/Instrc_r.txt b/Orchid/Code/Comp2/Instrc_r.txt deleted file mode 100644 index c868b33..0000000 --- a/Orchid/Code/Comp2/Instrc_r.txt +++ /dev/null @@ -1 +0,0 @@ -p! 123 IF= \ No newline at end of file diff --git a/Orchid/Code/Comp2/Instrc_s.txt b/Orchid/Code/Comp2/Instrc_s.txt deleted file mode 100644 index c137216..0000000 --- a/Orchid/Code/Comp2/Instrc_s.txt +++ /dev/null @@ -1 +0,0 @@ -F \ No newline at end of file diff --git a/Orchid/Code/Comp2/start.bat b/Orchid/Code/Comp2/start.bat deleted file mode 100644 index 9a9a7c7..0000000 --- a/Orchid/Code/Comp2/start.bat +++ /dev/null @@ -1,4 +0,0 @@ -@ECHO OFF - -cd W:/Code/Orchid/Code/ -W:/Code/python.exe W:/Code/Orchid/Code/Comp2/Instance.py \ No newline at end of file diff --git a/Orchid/Code/Comp2/start.sh b/Orchid/Code/Comp2/start.sh deleted file mode 100644 index 1e97325..0000000 --- a/Orchid/Code/Comp2/start.sh +++ /dev/null @@ -1 +0,0 @@ -python3 Instance.py \ No newline at end of file diff --git a/Orchid/Code/Comp3/Instance b/Orchid/Code/Comp3/Instance deleted file mode 100644 index 633b632752c31e7d2aba1d61251c11802fdfb495..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 34053 zcmeI5e{5S<6~~XAq|MTFNq?|}7BZ)-Tf41s+GHaE>b#IE7 zZ6`}vAzr&_TVW_q+N27^R>ppGV`WttB7s?ST7mwpY4?UGMAc?_1oh#%qh)$d1d<%!(-~(e;EenXm(x;(DIX zS}!wSV&!nm@0FKQO6Gkyx*kuA561IN#q~b)S@lNk433@k%I$h!s6^NO@kA^X9?Hjy z-}l}&t6sm|&#_aSwYgo_$HVuB!T~)L4n|bGxZaFikJpHWrKO$uc~zvVAs%eRfCJ?%O+e zbmjI)vS?n2S;}}*KzKfC|EP$lnJCHg<5ix4X|m%P#EpoVO)c~T#A{(E4-x$pb_H|~ zl!fQT%DLR`oF~FX(unb^7qwWy)i53??+fpEJmwt@4SE9yMgxdh)=NmAu(4b19>tVQlCP`EdyV;JJ7t1H1+#fwm^rRC!cZvuBAs_^V zfDjM@LO=)z0U;m+gn$qb0zyCt2mv7=1cZPP5CTF#2nYcoAOwVf5D)@FKnMr{As_^V zfDjM@LO=)z0U;m+gn$qb0zyCt2mv7=1cZPP_&*W2bhvcxqe%6O7av&l;>C_q^LUAC zF0-DpI1@O%+4Py`+h|t#kHPPt*=x7ZERMzT(ZXp;Za3ji*T1^m{3Fp5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8ckaRw=_h^dNZO6zpp%v6?+nxa%;L4ZP*5`2g!}E&5b{z0Vuv0CHN!{M?G$Z z-ER6V7pT;9F* w$4k}!Z~JS?AAS3k$46@~y#BWvr?#B>W%*N2y|MZDx!;9a=D%|!`O?Tg00-~%?f?J) diff --git a/Orchid/Code/Comp3/Instance.c b/Orchid/Code/Comp3/Instance.c deleted file mode 100644 index 3daf8ca..0000000 --- a/Orchid/Code/Comp3/Instance.c +++ /dev/null @@ -1,89 +0,0 @@ -#include -#include -#include -#include - -int main() { - while (1) { - FILE *file; - file = fopen("Instrc_n.txt", "r"); - char content[10]; - fgets(content, 10, file); - - if (strcmp(content, "n\n") == 0) { - fclose(file); - usleep(100000); - - FILE *fil1, *fil2; - fil1 = fopen("Instrc_r.txt", "r"); - fil2 = fopen("Instrc_s.txt", "w"); - - char str[100], *token; - fgets(str, 100, fil1); - - token = strtok(str, "!!!!!!!"); - float A = atof(token); - token = strtok(NULL, "!!!!!!!"); - float B = atof(token); - token = strtok(NULL, "!!!!!!!"); - char *Type = token; - - int Out; - if (strcmp(Type, "A") == 0) { - Out = A + B; - } - else if (strcmp(Type, "S") == 0) { - Out = A - B; - } - else if (strcmp(Type, "M") == 0) { - Out = A * B; - } - else if (strcmp(Type, "D") == 0) { - Out = A / B; - } - char Out2; - if (strcmp(Type, "IF=") == 0) { - if (A == B) { - Out2 = "T"; - } - else { - Out2 = "F"; - } - } - else if (strcmp(Type, "IF!") == 0) { - if (A == B) { - Out2 = "F"; - } - else { - Out2 = "T"; - } - } - else if (strcmp(Type, "IF>") == 0) { - if (A > B) { - Out2 = "T"; - } - else { - Out2 = "F"; - } - } - else if (strcmp(Type, "IF<") == 0) { - if (A < B) { - Out2 = "T"; - } - else { - Out2 = "F"; - } - } - char Out1[6]; - gcvt(Out, 6, Out1); - fprintf(fil2, "%s", Out1); - fprintf(fil2, "%c", Out2); - fclose(fil1); - fclose(fil2); - } - else { - fclose(file); - } - } - return 0; -} diff --git a/Orchid/Code/Comp3/Instance.dSYM/Contents/Info.plist b/Orchid/Code/Comp3/Instance.dSYM/Contents/Info.plist deleted file mode 100644 index 1b60105..0000000 --- a/Orchid/Code/Comp3/Instance.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.Instance - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/Orchid/Code/Comp3/Instance.dSYM/Contents/Resources/DWARF/Instance b/Orchid/Code/Comp3/Instance.dSYM/Contents/Resources/DWARF/Instance deleted file mode 100644 index 11da68873b4fd891e02a699441ba0dc9f2f434c5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11503 zcmeHNYitzP6~4RU8Si-QT|Y3`0m>$Eh@ru2yG}xZ7(3WtuMIf1sR=C^_A#~>uXolv zv%KQQ#L$SgBoL7(1QHrmX^Z+&L--LHDNS3UMxiQHY8rl^rbzkIDlHMIKyB61@7$TO z*K43|kn(G;eCIswIp00^+&g#1JNNuQ|N5Uo##{`g0M&!KO(MxG^Fb<5pB?+o*WZ0| z^}6wq$ffA52V0xLpg%#BL+tk~oOpbH>YqPC$bN>}r`)-A2w8zJNr6DvoV zBNEO57%EC{>*n6+joiO!y3UqFFjVs_g`ybhF2in}i5FODCgu0Slnsq-vgEP7lROwj z(Tz+*pH$_>_xDBG^xh!lOB|OD=}3Cra~h6jf1LntPj-H5)hdn6uGjEhf;L6-p;nnky^~ z_z!4V({M|??6|U~gwax!QSCCd&N|ySbhNg#+iPU66&H0%#iFZBiN}+@{s?Cf9btTZ z&E0D)E0DuEI03WiiZyZh5Gg*om#8R8OpRm)ltetKn)1!@PS}GAkkze=jh7B52UIM# z-1tr$G2=^F5GU@vH5Rqlcwq}L7ti;CiC1gE_^M`yXDzcC@ikg_jn;S@XNeb%MAGVx znd2RO$&BwEE3DD`XB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X#yU>mi-3|4_a4MnxyxvBzSmku|B@j*EEK*>H zn%3i5GEmo0Q(IFTsOH*bbq%$UYU;mSQ(s%ZgatS0Fbi%EN3{svD)b>kOW~a&rYb!~ zroTVfmDaYaQ9}=IOh*UfF`JMDy?UhTf?1F9&+vM|rruQUJQl`3g7n7|DvN4KLroeC zLLFV|8J#aOv>`Rgn%SeQ7pHI7#*9I=o-TDP4)e9`ovrx3qMJ0u6nt6P$&~&?ct8gs zWF^wiltiRokMDsH)wH2F(S)Xhr13R|DY~i-!7m**pvpuTKGqoNFj$~vA{qE6`89#2 zNMguD()#;#)nJ*V9v?`mu|RY%oM!r_9Z#j_Xdh>L#I-yR*)eIJ*`|gH7MXTsK~tF%)ZEn3iV@hH|QSc z_9WA}KB9Eikk0mX{o>lcf3&B?xUYKT*#~c=uGj88;C=s-EyX>bq(1(`<)`*U122w# zRX=#?_~jA*_fG8}eeDP5{_!sSK198ST7-_OP*`J^O2f1L|8Am?jIs+dT5cF zc1u{lUcG{6lJ;v-)58er_Gc<6X^i%7Qq$g#9bsL=": - if A > B: - Out = "T" - else: - Out = "F" - if Type == "IF<": - if A < B: - Out = "T" - else: - Out = "F" - fil2.write(str(Out)) - fil2.close() \ No newline at end of file diff --git a/Orchid/Code/Comp3/Instrc_n.txt b/Orchid/Code/Comp3/Instrc_n.txt deleted file mode 100644 index e69de29..0000000 diff --git a/Orchid/Code/Comp3/Instrc_r.txt b/Orchid/Code/Comp3/Instrc_r.txt deleted file mode 100644 index 2ab319d..0000000 --- a/Orchid/Code/Comp3/Instrc_r.txt +++ /dev/null @@ -1,5 +0,0 @@ -qwn -* -12 -* -IF= \ No newline at end of file diff --git a/Orchid/Code/Comp3/Instrc_s.txt b/Orchid/Code/Comp3/Instrc_s.txt deleted file mode 100644 index e69de29..0000000 diff --git a/Orchid/Code/Comp3/start.bat b/Orchid/Code/Comp3/start.bat deleted file mode 100644 index 26458ae..0000000 --- a/Orchid/Code/Comp3/start.bat +++ /dev/null @@ -1,7 +0,0 @@ -@ECHO OFF - -W: -cd Code -python3 ./Comp1/Instance.py - -PAUSE \ No newline at end of file diff --git a/Orchid/Code/Comp3/start.sh b/Orchid/Code/Comp3/start.sh deleted file mode 100644 index 1e97325..0000000 --- a/Orchid/Code/Comp3/start.sh +++ /dev/null @@ -1 +0,0 @@ -python3 Instance.py \ No newline at end of file diff --git a/Orchid/Code/Comp4/Instance b/Orchid/Code/Comp4/Instance deleted file mode 100644 index dbc7f949aa4782d2354444ba933ca537c7b8c7fd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 34053 zcmeI5e{3AZ702J6?cgLPaS{uMI*_WK} zE_Y|+(5O8cQG%eAw<4860s%#BP@zGzYRn(5T#1(cQ3yu-7HZFJMGaCbs!A1$NYn3| z-Lu!%ghXxs=pXN$-p+e7Z{E&)X7bdsJg<4Fq{6%nL#bSTWFR+RRi5vou$wRGMX>MBSMB8kLoG^0bNOr{H8}4t zo^R|%H{U+5oqfOfb922?BdI$RshCQn;%V(K&Nu1h<27PozdVQA;y!sDCZI}nb@p|t z9g#h~?rNCcCP1mBtYn<5yjHbPr3TZ!Ww>Cz(zwWU`=hItC3r6NY%Uh|*-g9me068n z?$RD9l#L5MOBHVl2#-haAMFu!5EXcQyvma(+C6^~ek*)tvljXx{5q6l-y-@5<#Om= zC<~8^m1DWyKTf!dq!s;FFRF2!6)1vG-WQ>fTsD+U41{7wk}>!!4NxA(-(S6}=GG^! zfBt)q|84xceGlK;hPoisofG%IT-$m(8yyv&M~$8zN|sHSALrqH?icR44a#ji52C9; z%vcx;#?yNwm$!ynzTARwB?fd5eGUcZpDPemqrBSlnHS4vq1>K1Ms>o*PAkfDjM@ zLO=)z0U;m+gn$qb0zyCt2mv7=1cZPP5CTF#2nYcoAOwVf5D)@FKnMr{As_^VfDjM@ zLO=)z0U;m+gn$qb0zyCt2mv7=1cZPP5CTF#2>c%tICrda=96^oQ)j=v>Z!9kD(#aM z#>`w3IZfBn^Efic#}3D7e7g;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644 index 54752b8..0000000 --- a/Orchid/Code/Comp4/Instance.c +++ /dev/null @@ -1,87 +0,0 @@ -#include -#include -#include -#include - -int main() { - while (1) { - FILE *file; - file = fopen("Instrc_n.txt", "r"); - char content[10]; - fgets(content, 10, file); - - if (strcmp(content, "n\n") == 0) { - fclose(file); - usleep(100000); - - FILE *fil1, *fil2; - fil1 = fopen("Instrc_r.txt", "r"); - fil2 = fopen("Instrc_s.txt", "w"); - - char str[100], *token; - fgets(str, 100, fil1); - - token = strtok(str, "!!!!!!!"); - float A = atof(token); - token = strtok(NULL, "!!!!!!!"); - float B = atof(token); - token = strtok(NULL, "!!!!!!!"); - char *Type = token; - - float Out; - if (strcmp(Type, "A") == 0) { - Out = A + B; - } - else if (strcmp(Type, "S") == 0) { - Out = A - B; - } - else if (strcmp(Type, "M") == 0) { - Out = A * B; - } - else if (strcmp(Type, "D") == 0) { - Out = A / B; - } - else if (strcmp(Type, "IF=") == 0) { - if (A == B) { - Out = 'T'; - } - else { - Out = 'F'; - } - } - else if (strcmp(Type, "IF!") == 0) { - if (A == B) { - Out = 'F'; - } - else { - Out = 'T'; - } - } - else if (strcmp(Type, "IF>") == 0) { - if (A > B) { - Out = 'T'; - } - else { - Out = 'F'; - } - } - else if (strcmp(Type, "IF<") == 0) { - if (A < B) { - Out = 'T'; - } - else { - Out = 'F'; - } - } - char Out1[6]; - gcvt(Out, 6, Out1); - fprintf(fil2, "%s", Out1); - fclose(fil1); - fclose(fil2); - } - else { - fclose(file); - } - } - return 0; -} diff --git a/Orchid/Code/Comp4/Instance.dSYM/Contents/Info.plist b/Orchid/Code/Comp4/Instance.dSYM/Contents/Info.plist deleted file mode 100644 index 1b60105..0000000 --- a/Orchid/Code/Comp4/Instance.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.Instance - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/Orchid/Code/Comp4/Instance.dSYM/Contents/Resources/DWARF/Instance b/Orchid/Code/Comp4/Instance.dSYM/Contents/Resources/DWARF/Instance deleted file mode 100644 index 4e2cbdeab3612cf39380d31beb48fe05948da9e7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11389 zcmeHNeQXrR6`#BHuFreE^B2Z;0OcwOF(~!fjvEMAgaaFVXD0^i1WcMP_pxW6eZDWrwM`|eluA{limC~bLfWdOzc;&U zpU*&0kn-1#n0@d4=Djy>-ptON*_rzHKmJ$Fn2Vvvs25c2fnoG z<;S0Y=jh@76A!goI5%YQztXq5hDvzW1&^b2ipmiwX2{h0;lt<_b## z_Jdl%G+fbNVO#}M!f2_Mq1t6;o%Mw8>hA0a+iPUPiiV$pU};_(!&Kk_q#jxfHh zp)DIMEs&!{egbCGr>%)Ag-G$yyF^7%5^5|zsH9UF)s!#qPqPOVAgwDG+g~o48C0>{ zisRFsFym{sTxg50?2B4#e^JX}vA^ev{5^M#{;Xv-C%!4m-wJEIQ`hJ(8jI!BU314P zJ!OvfHEWpC&DS~$tB|DgB^ z{AHu@;`r8C{+3v7)?K4NV{i7d@g*&P?^=sLd5!+G*l?UeD2{L78FRdLd;_;!eY{Sq zlL03KP6nI|I2mv<;AFtbz(<<_`k7ndGXEH&pMdkZ%$WW6Fa5$B9a7XiYCLbK%8(jO zs5z#LMpK!OHc+QGCj(9foD4V_a5CUzz{!A<0Ve}a2Am8y8E`V-WZ*+*UGu-2==66xoB>0utVLYrnRh^3$E8jN28fU558vhYg$?l_H}gY!8@bz z-o9;3dSWD)*K@&CCZ5hGRCb;A!Dw#ux_#(-@l`II(T!*(t~QyUtaKxh(wc^7j0*oQ z1|I(pGR-3;_^9l*{|lr}6lKqgB9nx@5wTJd$}Wh0X;NG$^@wHC1(6B)Nzo?>zDX$} z=#%0+N$^JiM5NPXvok_S^#!pSHcZHHvBne^N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?4_?tJtUm$Da|Ck}ak_xAS6zPGdIe}C?QeeuAP zWB2NhoPGM-&Wf+Rba3p8U;E|1egV6;P~StP(_#tgYE;_&Q>YWDPoaJr_2;N(QE3mu zKfb%-OIe3Fn1aMNF@kAt1AOB*FCHe8HZ_82pTm8q<6D<}onYGi2&PRD+RH9hj1Wu* z7s0e+Li=RnDxOK&vk9gR4siH0^^`P5dpNmTlaf?)DVFzum$rw(*|m0;Q+38oVkaK-K*KU?V}C76": - if A > B: - Out = "T" - else: - Out = "F" - if Type == "IF<": - if A < B: - Out = "T" - else: - Out = "F" - fil2.write(str(Out)) - fil2.close() diff --git a/Orchid/Code/Comp4/Instrc_n.txt b/Orchid/Code/Comp4/Instrc_n.txt deleted file mode 100644 index e69de29..0000000 diff --git a/Orchid/Code/Comp4/Instrc_r.txt b/Orchid/Code/Comp4/Instrc_r.txt deleted file mode 100644 index 918424c..0000000 --- a/Orchid/Code/Comp4/Instrc_r.txt +++ /dev/null @@ -1,5 +0,0 @@ -qqqi -* -12 -* -IF= \ No newline at end of file diff --git a/Orchid/Code/Comp4/Instrc_s.txt b/Orchid/Code/Comp4/Instrc_s.txt deleted file mode 100644 index e69de29..0000000 diff --git a/Orchid/Code/Comp4/start.bat b/Orchid/Code/Comp4/start.bat deleted file mode 100644 index 9a9a7c7..0000000 --- a/Orchid/Code/Comp4/start.bat +++ /dev/null @@ -1,4 +0,0 @@ -@ECHO OFF - -cd W:/Code/Orchid/Code/ -W:/Code/python.exe W:/Code/Orchid/Code/Comp2/Instance.py \ No newline at end of file diff --git a/Orchid/Code/Comp4/start.sh b/Orchid/Code/Comp4/start.sh deleted file mode 100644 index 1e97325..0000000 --- a/Orchid/Code/Comp4/start.sh +++ /dev/null @@ -1 +0,0 @@ -python3 Instance.py \ No newline at end of file diff --git a/Orchid/Code/Comp5/Instance b/Orchid/Code/Comp5/Instance deleted file mode 100644 index 633b632752c31e7d2aba1d61251c11802fdfb495..0000000000000000000000000000000000000000 GIT binary patch literal 0 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@t>d9(1>bkFeNBPSf zeucxo+TpKu_}4i6bq>GI;cu|~t}u>+`}J@`0;kqv6s{nJAg+S@sooN5r(U{~ zc2L)C+o_LkgRO`9pr50SaoXs|=R@=fD2vnbSzkU2+ziY57o1mTVV}tH-@zms*~1n>*^$*+vfh|w&gRzkfeIbLkI`~As_^VfDjM@LO=)z z0U;m+gn$qb0zyCt2mv7=1cZPP5CTF#2nYcoAOwVf5D)@FKnMr{As_^VfDjM@LO=)z z0U;m+gn$qb0zyCt2mv7=1cZPP5CTF#2nYcoAOwVf5crP?crbDgGy%n3Cid+Ba3J;t z0m|q9C7u)IYq$+S%e7eJT)05Mg$p)Zb)bdK#DHqR8rxHp4>AmWR(sx%(jfCt~P z!2So&>l`t+T?d`FE>KW8yNmjrzt68w<-#o#5FUFCw91jscRL{DE+rfAbjJMu;GOZ- zqPV3fZZC>=7RB8~@!du73dEIA+_gdcKklobJo{D9)zCH2e<#O7`eoKlSL^ma*dE?5 z#*J9qd*6URGU(l5#77d5sJ9~$F!bKUcrfVQ6N}tu_!Dt&cg#N=3girDAZ;wV)vNC5 z7zq1~20wWx24db|WE5K~?!9%yJ2BYU9BA6#x>cVT+UD1rCl73k21kb)S%$*iJ}+PE z!DF|y8ckaRw=_h^dNZO6zpp%v6?+nxa%;L4ZP*5`2g!}E&5b{z0Vuv0CHN!{M?G$Z z-ER6V7pT;9F* w$4k}!Z~JS?AAS3k$46@~y#BWvr?#B>W%*N2y|MZDx!;9a=D%|!`O?Tg00-~%?f?J) diff --git a/Orchid/Code/Comp5/Instance.c b/Orchid/Code/Comp5/Instance.c deleted file mode 100644 index 3daf8ca..0000000 --- a/Orchid/Code/Comp5/Instance.c +++ /dev/null @@ -1,89 +0,0 @@ -#include -#include -#include -#include - -int main() { - while (1) { - FILE *file; - file = fopen("Instrc_n.txt", "r"); - char content[10]; - fgets(content, 10, file); - - if (strcmp(content, "n\n") == 0) { - fclose(file); - usleep(100000); - - FILE *fil1, *fil2; - fil1 = fopen("Instrc_r.txt", "r"); - fil2 = fopen("Instrc_s.txt", "w"); - - char str[100], *token; - fgets(str, 100, fil1); - - token = strtok(str, "!!!!!!!"); - float A = atof(token); - token = strtok(NULL, "!!!!!!!"); - float B = atof(token); - token = strtok(NULL, "!!!!!!!"); - char *Type = token; - - int Out; - if (strcmp(Type, "A") == 0) { - Out = A + B; - } - else if (strcmp(Type, "S") == 0) { - Out = A - B; - } - else if (strcmp(Type, "M") == 0) { - Out = A * B; - } - else if (strcmp(Type, "D") == 0) { - Out = A / B; - } - char Out2; - if (strcmp(Type, "IF=") == 0) { - if (A == B) { - Out2 = "T"; - } - else { - Out2 = "F"; - } - } - else if (strcmp(Type, "IF!") == 0) { - if (A == B) { - Out2 = "F"; - } - else { - Out2 = "T"; - } - } - else if (strcmp(Type, "IF>") == 0) { - if (A > B) { - Out2 = "T"; - } - else { - Out2 = "F"; - } - } - else if (strcmp(Type, "IF<") == 0) { - if (A < B) { - Out2 = "T"; - } - else { - Out2 = "F"; - } - } - char Out1[6]; - gcvt(Out, 6, Out1); - fprintf(fil2, "%s", Out1); - fprintf(fil2, "%c", Out2); - fclose(fil1); - fclose(fil2); - } - else { - fclose(file); - } - } - return 0; -} diff --git a/Orchid/Code/Comp5/Instance.dSYM/Contents/Info.plist b/Orchid/Code/Comp5/Instance.dSYM/Contents/Info.plist deleted file mode 100644 index 1b60105..0000000 --- a/Orchid/Code/Comp5/Instance.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.Instance - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/Orchid/Code/Comp5/Instance.dSYM/Contents/Resources/DWARF/Instance b/Orchid/Code/Comp5/Instance.dSYM/Contents/Resources/DWARF/Instance deleted file mode 100644 index 11da68873b4fd891e02a699441ba0dc9f2f434c5..0000000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KB9Eikk0mX{o>lcf3&B?xUYKT*#~c=uGj88;C=s-EyX>bq(1(`<)`*U122w# zRX=#?_~jA*_fG8}eeDP5{_!sSK198ST7-_OP*`J^O2f1L|8Am?jIs+dT5cF zc1u{lUcG{6lJ;v-)58er_Gc<6X^i%7Qq$g#9bsL=": - if A > B: - Out = "T" - else: - Out = "F" - if Type == "IF<": - if A < B: - Out = "T" - else: - Out = "F" - fil2.write(str(Out)) - fil2.close() \ No newline at end of file diff --git a/Orchid/Code/Comp5/Instrc_n.txt b/Orchid/Code/Comp5/Instrc_n.txt deleted file mode 100644 index e69de29..0000000 diff --git a/Orchid/Code/Comp5/Instrc_r.txt b/Orchid/Code/Comp5/Instrc_r.txt deleted file mode 100644 index 7171f6f..0000000 --- a/Orchid/Code/Comp5/Instrc_r.txt +++ /dev/null @@ -1,5 +0,0 @@ -qqqq6 -* -12 -* -IF= \ No newline at end of file diff --git a/Orchid/Code/Comp5/Instrc_s.txt b/Orchid/Code/Comp5/Instrc_s.txt deleted file mode 100644 index e69de29..0000000 diff --git a/Orchid/Code/Comp5/start.bat b/Orchid/Code/Comp5/start.bat deleted file mode 100644 index 26458ae..0000000 --- a/Orchid/Code/Comp5/start.bat +++ /dev/null @@ -1,7 +0,0 @@ -@ECHO OFF - -W: -cd Code -python3 ./Comp1/Instance.py - -PAUSE \ No newline at end of file diff --git a/Orchid/Code/Comp5/start.sh b/Orchid/Code/Comp5/start.sh deleted file mode 100644 index 1e97325..0000000 --- a/Orchid/Code/Comp5/start.sh +++ /dev/null @@ -1 +0,0 @@ -python3 Instance.py \ No newline at end of file diff --git a/Orchid/Code/Comp6/Instance b/Orchid/Code/Comp6/Instance deleted file mode 100644 index 633b632752c31e7d2aba1d61251c11802fdfb495..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 34053 zcmeI5e{5S<6~~XAq|MTFNq?|}7BZ)-Tf41s+GHaE>b#IE7 zZ6`}vAzr&_TVW_q+N27^R>ppGV`WttB7s?ST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s|=R@=fD2vnbSzkU2+ziY57o1mTVV}tH-@zms*~1n>*^$*+vfh|w&gRzkfeIbLkI`~As_^VfDjM@LO=)z z0U;m+gn$qb0zyCt2mv7=1cZPP5CTF#2nYcoAOwVf5D)@FKnMr{As_^VfDjM@LO=)z z0U;m+gn$qb0zyCt2mv7=1cZPP5CTF#2nYcoAOwVf5crP?crbDgGy%n3Cid+Ba3J;t z0m|q9C7u)IYq$+S%e7eJT)05Mg$p)Zb)bdK#DHqR8rxHp4>AmWR(sx%(jfCt~P z!2So&>l`t+T?d`FE>KW8yNmjrzt68w<-#o#5FUFCw91jscRL{DE+rfAbjJMu;GOZ- zqPV3fZZC>=7RB8~@!du73dEIA+_gdcKklobJo{D9)zCH2e<#O7`eoKlSL^ma*dE?5 z#*J9qd*6URGU(l5#77d5sJ9~$F!bKUcrfVQ6N}tu_!Dt&cg#N=3girDAZ;wV)vNC5 z7zq1~20wWx24db|WE5K~?!9%yJ2BYU9BA6#x>cVT+UD1rCl73k21kb)S%$*iJ}+PE z!DF|y8ckaRw=_h^dNZO6zpp%v6?+nxa%;L4ZP*5`2g!}E&5b{z0Vuv0CHN!{M?G$Z z-ER6V7pT;9F* w$4k}!Z~JS?AAS3k$46@~y#BWvr?#B>W%*N2y|MZDx!;9a=D%|!`O?Tg00-~%?f?J) diff --git a/Orchid/Code/Comp6/Instance.c b/Orchid/Code/Comp6/Instance.c deleted file mode 100644 index 3daf8ca..0000000 --- a/Orchid/Code/Comp6/Instance.c +++ /dev/null @@ -1,89 +0,0 @@ -#include -#include -#include -#include - -int main() { - while (1) { - FILE *file; - file = fopen("Instrc_n.txt", "r"); - char content[10]; - fgets(content, 10, file); - - if (strcmp(content, "n\n") == 0) { - fclose(file); - usleep(100000); - - FILE *fil1, *fil2; - fil1 = fopen("Instrc_r.txt", "r"); - fil2 = fopen("Instrc_s.txt", "w"); - - char str[100], *token; - fgets(str, 100, fil1); - - token = strtok(str, "!!!!!!!"); - float A = atof(token); - token = strtok(NULL, "!!!!!!!"); - float B = atof(token); - token = strtok(NULL, "!!!!!!!"); - char *Type = token; - - int Out; - if (strcmp(Type, "A") == 0) { - Out = A + B; - } - else if (strcmp(Type, "S") == 0) { - Out = A - B; - } - else if (strcmp(Type, "M") == 0) { - Out = A * B; - } - else if (strcmp(Type, "D") == 0) { - Out = A / B; - } - char Out2; - if (strcmp(Type, "IF=") == 0) { - if (A == B) { - Out2 = "T"; - } - else { - Out2 = "F"; - } - } - else if (strcmp(Type, "IF!") == 0) { - if (A == B) { - Out2 = "F"; - } - else { - Out2 = "T"; - } - } - else if (strcmp(Type, "IF>") == 0) { - if (A > B) { - Out2 = "T"; - } - else { - Out2 = "F"; - } - } - else if (strcmp(Type, "IF<") == 0) { - if (A < B) { - Out2 = "T"; - } - else { - Out2 = "F"; - } - } - char Out1[6]; - gcvt(Out, 6, Out1); - fprintf(fil2, "%s", Out1); - fprintf(fil2, "%c", Out2); - fclose(fil1); - fclose(fil2); - } - else { - fclose(file); - } - } - return 0; -} diff --git a/Orchid/Code/Comp6/Instance.dSYM/Contents/Info.plist b/Orchid/Code/Comp6/Instance.dSYM/Contents/Info.plist deleted file mode 100644 index 1b60105..0000000 --- a/Orchid/Code/Comp6/Instance.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.Instance - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/Orchid/Code/Comp6/Instance.dSYM/Contents/Resources/DWARF/Instance b/Orchid/Code/Comp6/Instance.dSYM/Contents/Resources/DWARF/Instance deleted file mode 100644 index 11da68873b4fd891e02a699441ba0dc9f2f434c5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11503 zcmeHNYitzP6~4RU8Si-QT|Y3`0m>$Eh@ru2yG}xZ7(3WtuMIf1sR=C^_A#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L|8Am?jIs+dT5cF zc1u{lUcG{6lJ;v-)58er_Gc<6X^i%7Qq$g#9bsL=": - if A > B: - Out = "T" - else: - Out = "F" - if Type == "IF<": - if A < B: - Out = "T" - else: - Out = "F" - fil2.write(str(Out)) - fil2.close() \ No newline at end of file diff --git a/Orchid/Code/Comp6/Instrc_n.txt b/Orchid/Code/Comp6/Instrc_n.txt deleted file mode 100644 index e69de29..0000000 diff --git a/Orchid/Code/Comp6/Instrc_r.txt b/Orchid/Code/Comp6/Instrc_r.txt deleted file mode 100644 index 318a23c..0000000 --- a/Orchid/Code/Comp6/Instrc_r.txt +++ /dev/null @@ -1,5 +0,0 @@ -qqqqqq -* -12 -* -IF= \ No newline at end of file diff --git a/Orchid/Code/Comp6/Instrc_s.txt b/Orchid/Code/Comp6/Instrc_s.txt deleted file mode 100644 index e69de29..0000000 diff --git a/Orchid/Code/Comp6/start.bat b/Orchid/Code/Comp6/start.bat deleted file mode 100644 index 26458ae..0000000 --- a/Orchid/Code/Comp6/start.bat +++ /dev/null @@ -1,7 +0,0 @@ -@ECHO OFF - -W: -cd Code -python3 ./Comp1/Instance.py - -PAUSE \ No newline at end of file diff --git a/Orchid/Code/Comp6/start.sh b/Orchid/Code/Comp6/start.sh deleted file mode 100644 index 1e97325..0000000 --- a/Orchid/Code/Comp6/start.sh +++ /dev/null @@ -1 +0,0 @@ -python3 Instance.py \ No newline at end of file diff --git a/Orchid/Code/Public/Compiler.py b/Orchid/Code/Public/Compiler.py deleted file mode 100644 index e67efd5..0000000 --- a/Orchid/Code/Public/Compiler.py +++ /dev/null @@ -1,36 +0,0 @@ -import re - -pattern1 = r'^(.*)=$' -pattern2 = r'^(.*):$' - -if_statement = open("Code/Input_Code/test.py", "r").read().splitlines() - - -#if_statement = "if A != B: A+1 else: pass" -out = open("Code/Input_Code/out.py", "w") -out.write("") -out = open("Code/Input_Code/out.py", "a") -for i2 in range(len(if_statement)): - if1=if_statement[i2].split(None) - - if if_statement[i2].find("if") == -1: - out.write(if_statement[i2]+"\n") - if if_statement[i2].find(":") != -1: - out.write("\t") - for i in range(len(if1)): - if if1[i] == "if": - A = if1[i+1] - B = if1[i+2] - C = if1[i+3] - match = re.match(pattern1, B) - if match: - B = match.group(1) - - match = re.match(pattern2, C) - if match: - C = match.group(1) - - - out.write(f"C1.Process({A}, {C}, 'if{B}')\n") - i2=i2+1 - out.write(f"if C1.Read():\n") \ No newline at end of file diff --git a/Orchid/Code/Public/Dig1.py b/Orchid/Code/Public/Dig1.py deleted file mode 100644 index 56a37b7..0000000 --- a/Orchid/Code/Public/Dig1.py +++ /dev/null @@ -1,117 +0,0 @@ -from Lib1 import Instance -from ctypes import * -CDLL("Lib1.so") -from multiprocessing import Process - -def D1(alp, password, C1): - for i2 in range(len(alp)): - - test=""+alp[i2] - C1.Process(test,password,"IF=") - if C1.Read(): - print("password found! "+test) - quit() -def D2(alp, password, C2): - for i in range(len(alp)): - test1 = alp[i] - for i2 in range(len(alp)): - - test=test1+alp[i2] - - C2.Process(test,password,"IF=") - if C2.Read(): - print("password found! "+test) - quit() -def D3(alp, password, C3): - for i3 in range(len(alp)): - test2=alp[i3] - for i in range(len(alp)): - test1 = alp[i] - for i2 in range(len(alp)): - - test=test2+test1+alp[i2] - - C3.Process(test,password,"IF=") - if C3.Read(): - print("password found! "+test) - quit() -def D4(alp, password, C4): - for i4 in range(len(alp)): - test3=alp[i4] - for i3 in range(len(alp)): - test2=alp[i3] - for i in range(len(alp)): - test1 = alp[i] - for i2 in range(len(alp)): - - test=test3+test2+test1+alp[i2] - - C4.Process(test,password,"IF=") - if C4.Read(): - print("password found! "+test) - quit() -def D5(alp, password, C5): - for i5 in range(len(alp)): - test4=alp[i5] - for i4 in range(len(alp)): - test3=alp[i4] - for i3 in range(len(alp)): - test2=alp[i3] - for i in range(len(alp)): - test1 = alp[i] - for i2 in range(len(alp)): - - test=test4+test3+test2+test1+alp[i2] - - C5.Process(test,password,"IF=") - if C5.Read(): - print("password found! "+test) - quit() -def D6(alp, password, C6): - for i6 in range(len(alp)): - test5=alp[i6] - for i5 in range(len(alp)): - test4=alp[i5] - for i4 in range(len(alp)): - test3=alp[i4] - for i3 in range(len(alp)): - test2=alp[i3] - for i in range(len(alp)): - test1 = alp[i] - for i2 in range(len(alp)): - - test=test5+test4+test3+test2+test1+alp[i2] - - C6.Process(test,password,"IF=") - if C6.Read(): - print("password found! "+test) - quit() - -if __name__ == "__main__": - - C1 = Instance("1") - C2 = Instance("2") - C3 = Instance("3") - C4 = Instance("4") - C5 = Instance("5") - C6 = Instance("6") - - alp = "qwertyuiop1234567890asdfghjklzxcvbnm,./;'[]-=\\`~@#$\%^&*()_+QWEERTYUIOP\{\}|ASDFGHJKL:\"ZXCVBNM<>?!" - password = input("Enter a password less than 6 digits: \t") - - if len(password) > 6: - print("Your password is greater than 6 digits!") - - Proc1 = Process(target=D1, args=(alp, password, C1)) - Proc2 = Process(target=D2, args=(alp, password, C2)) - Proc3 = Process(target=D3, args=(alp, password, C3)) - Proc4 = Process(target=D4, args=(alp, password, C4)) - Proc5 = Process(target=D5, args=(alp, password, C5)) - Proc6 = Process(target=D6, args=(alp, password, C6)) - - Proc1.start() - Proc2.start() - #Proc3.start() - #Proc4.start() - #Proc5.start() - #Proc6.start() \ No newline at end of file diff --git a/Orchid/Code/Public/Lib1.py b/Orchid/Code/Public/Lib1.py deleted file mode 100644 index 95bcdbd..0000000 --- a/Orchid/Code/Public/Lib1.py +++ /dev/null @@ -1,36 +0,0 @@ -import time - -class Instance(): - def __init__(self, UUID): - self.UUID = UUID - def Process(self, A, B, Type): - open("Comp"+str(self.UUID)+"/Instrc_n.txt", "w").write("n") - A_fil = open("Comp"+str(self.UUID)+"/Instrc_r.txt", "w") - C = open("Comp"+str(self.UUID)+"/Instrc_s.txt", "w") - C.write("P") - C.close() - B_fil = open("Comp"+str(self.UUID)+"/Instrc_s.txt", "r") - A_fil.write(str(A)+r" "+str(B)+r" "+str(Type)) - A_fil.close() - while B_fil.read() == "P": - time.sleep(0.01) - open("Comp"+str(self.UUID)+"/Instrc_n.txt", "w").write("") - def Read(self): - time.sleep(0.1) - A_fil = open("Comp"+str(self.UUID)+"/Instrc_s.txt", "r") - while(True): - A_str = A_fil.read() - if A_str == "": - pass - else: - if A_str == "F": - A_fil.close() - - return False - if A_str == "T": - A_fil.close() - - return True - A_fil.close() - - return A_str \ No newline at end of file diff --git a/Orchid/Code/Public/Lib1.so b/Orchid/Code/Public/Lib1.so deleted file mode 100644 index e6d5746516ba9ef2ab06b253b8b6f8d22eac777e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 34068 zcmeI5Yiv~27RT3_DKM2si!>slwzVP%+JePIf(!>irMW1zv`G_lJ$=p4N$X6RGo>J? zM~g;|+N?~4KYF1` zo<0R;mJ+YqFjA3iDNjLF9Ph@JZr@Xwn+xj!x9R?tkmXkm!%X#enCDH!@!k)+UAsIF z*8TB9UOenw6~pK>Q^{C-^Lf2+zpbm?j#jTfuX}1iY_=Ije|#Vo?=oWXXhP|Q@rJ#4 zja~rO{p<70=PN#kryz#0ZcXzVW9`PL-x?&^ z=PriLQiOmI5CTF#2nYcoAOwVf5D)@FKnMr{As_^VfDjM@LO=)z0U;m+gn$qb0zyCt z2mv7=1cZPP5CTF#2nYcoAOwVf5D)@FKnMr{As_^VfDjM@LO=-oX$a&7Y3$q%?eMv^ zWT&T*b23OydYX<}cLHQR@flL^&h1!p7=HF>&^U26@%rJse`)!HO~}(5E)VDq1y-NP zP1DD6!N3@D`i4U@btk0h&Y{7}ze}$~+ysq`_s~eDo}BDT-T5j=_96{)WtQ3Lx#R>b z>%Ghzo(5|*s_G?(fc%?p)nWGntt+vzi-7(5{c$Ix@Qs3Ejy2j^A zVf!F_({ptPDTYJUjbZy_B{?s!tq$v|^X#o*`*~&4oqwV}S*bhe`MSenxt$Htk#r5} zCFJ~_{T5>ELT_wa*gl|ay0f2a_^G+N!}gPT-z6BE&__-MLr1bb`pDN@*Sma{fY0J7 z4aWxdDDcEgsz-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gzl0Y?SF+l}8CoM}@g2T#% zEo!jZ!htWj#@$MF-cBPKVfR?jMqLBdIP`!HNC-1Q4{i9=@ZH_5b)OloWztbN_-CTv zOyuwDU{_0}gTr=|?FH*nALUsuSj&VAn|Z&}3AR;sD5G2lZ&h>_i3X{U_(tU4%G+|+8^7uB{e@h&x9pi5@iKVAv^!TC^Ql>5lMrvf>!Ci4LCTqdAm`m zf+kk+1^6boeGr!r{ z`90s)v^W9z_>+q)qY&~tIz0hj$l*nJtP@5UEs=u%qy;LG_Xv}25+?6RgzUl3mx9FT zG|4G{pqn?lyW&B+&S4gebz+eMWd!4Il7fs_1%=6=Ri*%f>P08ZwliNgEi*ueM6_l2 z9i9*{N?@k<}QHK$jYHTMBGKPxid zo?5{BQVy9(`z3*MjbrqN}VhQ4emhHUJzM>2qp>r)Ms8%>PqtnMh}aS5HbzpF$J+g z5mGop)Dls38SU^XB~bNfk3rcTu=WCv0!?s)c~8+ROVyfo0ly+Q4L3H;dE%Kr- zFlMDvwaT6h=VDBrdYu;?%Tvu##kO)Pj{vMk$2>ajDKj^!a582r6iYVFA&bJJ7!jG` z71OfqS~{3mcLxFN1yBw0>tJSM_B*|$?8i3q+xhmX*AFhYPmTYqw+F909K5osy6Kba ziLVmh>P>og;+u))o9)c`AEpobcW3u!+nJGr$#&-L2dteLZ>RN#Y5kY9-p#n9t!b-b zalBJzFhg(xCQQL@m1qSc`9r+)1saR#X4Vx{j3WA9AxV z-;Zy_H7ZTZv6=TWf0WtLK}^&a+TOurr_Q!@s!l{E}rDUfeL2Dr~ugcG57uSe`HWCp-qd z@Bvg=P`gAVi|fXbe?p;QkAZ3gt0U3a3mpmlv0<(8e+L5(GaVn3{WU|T>XiAkN)OBl==&I CFmlrX diff --git a/Orchid/Code/Public/__pycache__/Paths.cpython-310.pyc b/Orchid/Code/Public/__pycache__/Paths.cpython-310.pyc deleted file mode 100644 index 2c113fa50946ac6607c88de812f0be7b995ec0bb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 357 zcmYjMO-sW-5Z&2?c9Hf62-15Fy7b^picl|JYC%K@UeZiLx1`y!lc@FV4{4A7rM-Ic zFL-jc5!!)yZ{F@>KJ0LKCOA}jjV1GU5T_wo+;Y+d0}6ynq#Z*FC^7mJsYG}bN&LeO zG0OvXIOA`Btw&deY)+~L` z)Ks{}4_vXfuLZSbY2Lqt3lk3TJJC<hXWArxpv{ zjnQ-NPFI_)SNFAPf{Me!;r0Ol zw|I(DbMwnmi%ZkeGAmXxdx(Ql zS6FN=z)%q -#include -#include -#include - -#define BUF_SIZE 1024 - -typedef struct Instance { - char UUID[BUF_SIZE]; -} Instance; - -void Instance_Init(Instance* instance, char* UUID) { - strcpy(instance->UUID, UUID); -} - -void Instance_Process(Instance* instance, int A, int B, char* Type) { - char instrc_n_path[BUF_SIZE], instrc_r_path[BUF_SIZE], instrc_s_path[BUF_SIZE]; - snprintf(instrc_n_path, BUF_SIZE, "Comp%s/Instrc_n.txt", instance->UUID); - snprintf(instrc_r_path, BUF_SIZE, "Comp%s/Instrc_r.txt", instance->UUID); - snprintf(instrc_s_path, BUF_SIZE, "Comp%s/Instrc_s.txt", instance->UUID); - - FILE* instrc_n_file = fopen(instrc_n_path, "w"); - fprintf(instrc_n_file, "n"); - fclose(instrc_n_file); - - FILE* instrc_r_file = fopen(instrc_r_path, "w"); - FILE* instrc_s_file = fopen(instrc_s_path, "w"); - fprintf(instrc_s_file, "P"); - fclose(instrc_s_file); - - instrc_s_file = fopen(instrc_s_path, "r"); - fprintf(instrc_r_file, "%d %d %s", A, B, Type); - fclose(instrc_r_file); - - char buf[BUF_SIZE]; - do { - fseek(instrc_s_file, 0, SEEK_SET); - fread(buf, sizeof(char), BUF_SIZE, instrc_s_file); - usleep(10000); - } while (buf[0] == 'P'); - - instrc_n_file = fopen(instrc_n_path, "w"); - fclose(instrc_n_file); -} - -char* Instance_Read(Instance* instance) { - usleep(100000); - char instrc_s_path[BUF_SIZE]; - snprintf(instrc_s_path, BUF_SIZE, "Comp%s/Instrc_s.txt", instance->UUID); - FILE* instrc_s_file = fopen(instrc_s_path, "r"); - char* result = NULL; - while (1) { - char buf[BUF_SIZE]; - fgets(buf, BUF_SIZE, instrc_s_file); - if (buf[0] == '\0') { - continue; - } else { - if (buf[0] == 'F') { - fclose(instrc_s_file); - return "False"; - } else if (buf[0] == 'T') { - fclose(instrc_s_file); - return "True"; - } else { - result = strdup(buf); - break; - } - } - } - fclose(instrc_s_file); - return result; -} diff --git a/Orchid/Code/__pycache__/Lib1.cpython-311.pyc b/Orchid/Code/__pycache__/Lib1.cpython-311.pyc deleted file mode 100644 index dd75cc9a0e9cc711583355d484566444f3a1aaf5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2323 zcmdT_&1)M+6rWkGY<+Diw@u>MR;$pKL^QT)+)$dh4YphxLl91EhekDBl$~`gThgkt z>%`WqzSLSG4)xd7cv1`lrAGn_T8WLDEP z$2%Az?}B&hP2r_L3q%F3PKi!{OTdu`?6nrq0cY zK9)&kQ>Mj}mcb_mbaTcsauYFw=@aKuSGv1$^R`D-VTq-x`Ien*x^`4kV@NI zH`!w9COli9AllCEp@6|f#*456OT^mQ2T)skzHHjz89jz}f{JLlkC?OqUe+B?#l7*I z)y&1@#?xW$Jj@ozH0CY{W!5CHxpD1vxgZxY_kCo&wyP@8#!Q$8eKo9jC07wktSY#W zZ?vZbqI!1y?{X`^t~(+n)*FsMrbQj2%)I-)&Ua80Q7QiTbKF9^X=L_FI;GXHi@3Q7Bn_kN|AFoqB9y=2iB@}Hap=e(&H;}ZF(es9uOh-q!@fA;I z%;?CxHDzSCho0{4Xig})^f^6@q4EI{3QHYoF5T08EI-u=9oy!*w|(CH_k(;HLe z(7Dafxu>C_C!wLo^5fBR=)z{`Lh0h=a_Dj?@#SVhD~GfaGs_{fG&@&ro!@MozvZq3 z4=?$@^WTdV>Gy+o2a6wCvTfN6*G^x#N>xS-GRX9E@!SW2Inh+u~d0 zwsK2(7JU7-x70RWnlUzKta6)GCFCj{kX{hdF0kb@=_Mh6F!2gMZGiSq#D!|`(EhY;|_;X#BJ0GskL8*t2~gM$$d$D4rT|9~GxID&8#0T0%ext?Ua z4cLfFGy@N#8oB^l#>D&8=>hp7EX^xU1E7dWn7;u0ht*$|0xg}D@Ouw^%f9=82Z1~8 zN_)82|HIikXDi`%e}CuXYHYc;*jqW-`Lq8=|C;hhSyd|0o>i;zH&Y+3&Z0a2vj4vF zKq)Gf6Q_!S>M@8Ssy!ZQ!e3c7nbB3%_Ni*dV6$oD1FHJPmejFhJuttQj zxE?tEVFVy!4gf4TPgSDcx2wc~CfSRPw+DTPyq#6DAL;?nC7ew=h7iYy3f_r;y($u@ td3x(ff6BW+hwW<)15{m<(hBh|h^In)3*xEDM=3MxnT=#BsY diff --git a/Orchid/Code/__pycache__/Paths.cpython-311.pyc b/Orchid/Code/__pycache__/Paths.cpython-311.pyc deleted file mode 100644 index c37c459826ddf4019bc432972ddaeea7e6ebf8cc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 631 zcmZ3^%ge<81XjxGDYZcQF^B^LOi;#W86aaiLkdF*V-742AvjAoXOaM%$FqW_(1hQCQ>}5dJtKm8r zsbXddQx(v7bdysUK)&)T0$EnYp&wA1l#`jPugQ9gxwx|U7E3{5NyaU<%)H{%qLN!o z`Ng-`l1qzHGK*F+d6dwWKq1rqIiKt5lwu7)J1Xai!3@@gu-E`dd|+l|WW2$^*#L$&7`Ph1 Q@B<4IqwWU=Oag2o05{isaR2}S diff --git a/Orchid/compile.py b/Orchid/compile.py deleted file mode 100644 index 929f8ba..0000000 --- a/Orchid/compile.py +++ /dev/null @@ -1,39 +0,0 @@ -import py_compile -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig1.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig1_0.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig1_1.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig1_1.pyc", optimize=2) - -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig2.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig2_0.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig2_1.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig2_1.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig2_2.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig2_2.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig2_3.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig2_3.pyc", optimize=2) - -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig3.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig3_0.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig3_1.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig3_1.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig3_2.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig3_2.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig3_3.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig3_3.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig3_4.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig3_4.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig3_5.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig3_5.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig3_6.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig3_6.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig3_7.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig3_7.pyc", optimize=2) - -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4_1.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4_2.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4_3.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4_4.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4_5.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4_6.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4_7.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4_8.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4_9.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4_10.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4_11.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4_12.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4_13.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4_14.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4_15.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig4.pyc", optimize=2) - -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig5.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig5.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig6.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Code/Dig6.pyc", optimize=2) -py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Interperet/Test.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/Computer1/Interperet/Test.pyc", optimize=2) -#py_compile.compile('C:/Users/Administrator/Desktop/Code/Orchestrator/REF/Lib1.py',"C:/Users/Administrator/Desktop/Code/Orchestrator/REF/Lib1.pyc", optimize=2) \ No newline at end of file diff --git a/Orchid/int.sh b/Orchid/int.sh deleted file mode 100644 index 8b669bd..0000000 --- a/Orchid/int.sh +++ /dev/null @@ -1,17 +0,0 @@ -cd Code -chmod +x Comp1/start.sh -chmod +x Comp2/start.sh -chmod +x Comp3/start.sh -chmod +x Comp4/start.sh -chmod +x Comp5/start.sh - -cd /Users/1002083/Desktop/Orchid/Code/Comp1/ -./start.sh & -cd /Users/1002083/Desktop/Orchid/Code/Comp2/ -./start.sh & -cd /Users/1002083/Desktop/Orchid/Code/Comp3/ -./start.sh & -cd /Users/1002083/Desktop/Orchid/Code/Comp4/ -./start.sh & -cd /Users/1002083/Desktop/Orchid/Code/Comp5/ -./start.sh \ No newline at end of file diff --git a/Orchid/start.bat b/Orchid/start.bat deleted file mode 100644 index 2f1e394..0000000 --- a/Orchid/start.bat +++ /dev/null @@ -1,10 +0,0 @@ -@ECHO OFF - -cd W:/Code/Orchid/Code/ - -PAUSE -ECHO Starting Programs . . . - -W:/Code/python.exe W:/Code/Orchid/Code/Public/Dig1.py - -PAUSE \ No newline at end of file diff --git a/Orchid/start.sh b/Orchid/start.sh deleted file mode 100644 index 9b0adf0..0000000 --- a/Orchid/start.sh +++ /dev/null @@ -1,2 +0,0 @@ -cd Code -python3 Public/Dig1.py \ No newline at end of file