Files
2125_GCE/__pycache__/compress_and_run.cpython-314.pyc
T

106 lines
17 KiB
Plaintext
Raw Normal View History

2026-07-09 12:54:44 -04:00
+
ÿÜ0jo/ãóÈRt^RIt^RIt^RIt^RIHt^RIHtHtH t H
t
^RI t ]PP^]!]!]4P 44^RIHt^RIHt^RIHt^RIHt^RIHt^R IHtHtHt^R
IH t H!t!H"t"H#t#^R I$H%t%^R I&H't'R
Rlt(RRlt)RRlt*RRRllt+R RRllt,R RRllt-RRlt.RRRllt/Rt0]1R8Xd
]0!4R#R#)!aM
Enhanced Compressed Execution Program with Glyph System Integration
Compresses Python source code and executes it through the XIC symbolic processor.
Uses GSZ3 compression + XIC binary format + LAIN cognition engine + Glyph Superpowers.
Features:
- Glyph selection and activation
- Superpower display and tracking
- Power boost calculations
- Dual-layer symbolic integration
Usage:
python3 compress_and_run.py <source.py> [--mode analyze|debug] [--output output.gx]
python3 compress_and_run.py --glyph G001 --activate
python3 compress_and_run.py --glyph G001 --show-powers
N)ÚPath)ÚDictÚAnyÚOptionalÚList)Ú GXCompressor)ÚGXPacker)ÚSourceSegmenter)Úexecute_gx_path)Úrun_xic)Úload_all_superchargedÚ get_superÚlist_super_ids)Úload_all_superpowersÚcalculate_boostÚget_superpower_namesÚ super_stats)Úassign_superpowers)Úget_specialized_typecó0V^8„dQhR\R\/#©éÚ source_codeÚreturn)ÚstrÚbytes)Úformats"Ú'/home/t420/2125_GCE/compress_and_run.pyÚ __annotate__r.s÷ðñcó.\P!V4#)z Compress source code using GSZ3.)rÚcompress)rs&rÚcompress_sourcer".sä × Ò  Ó -rcó<V^8„dQhR\R\R\/#)rÚ source_pathÚsegmentsr)rÚlistÚdict)rs"rrr3s!÷ñ¤ð´ð¼ñrcó‚RRR^RVRRRRR R
R \P!R \P!44R
RVRRRR//#)z&Create GX manifest with codex_lineage.ÚmagicÚGXIC1ÚversionÚ source_fileÚ source_typeÚpythonÚ version_strz1.0.0Ú contributorÚcompress_and_runÚ timestampz%Y-%m-%dT%H:%M:%SZÚ
codex_lineager%Ú compressionÚgsz3Úformulazzlib_level9+sha256_trunc3)ÚtimeÚstrftimeÚgmtime)r$r%s&&rÚcreate_manifestr:3s\ð ØÐ”T—]’]Ð#7¼¿º»ÓØ ˜Ø ˜6Ø Ð
ð
ð
rcó0V^8„dQhR\R\/#r)rr&)rs"rrrEs÷ ñ ¤ð ¬ñ rc
óÔ\P!V4pVUu.uFApRVPRVPRVPRVP
RVP /NKC up#uupi)z0Segment source code and return segment metadata.ÚidÚstartÚendÚ
start_byteÚend_byte)r ÚsegmentÚ
segment_idÚ
start_lineÚend_liner@rA)rr%Úsegs& rÚsegment_sourcerGEslä×& 3€Hñó ñˆCð
#—. S—^ 3—< ˜#Ÿ.™.Ø ˜Ÿ ó 
ññ ð ùò sAA%cóRV^8„dQhR\R\\,R\/#)rr$Ú output_pathr)rrr)rs"rrrTs%÷!ñ!œsð!´¼#µð!Ì%ñ!rcó„\V4pVP4'g\RV 24hVP4p\ V4p\ \
V4V4p\V4p\P!WE4pV'd8\V4pVPV4\RV R\V4 R24V#)z‰Build complete .gx file from Python source.
Pipeline:
1. Read source code
2. Segment code
3. Compress with GSZ3
4. Pack with XIC format
zSource file not found: zCreated .gx file: z (z bytes))
rÚexistsÚFileNotFoundErrorÚ read_textrGr:rr"rÚpackÚ write_bytesÚprintÚlen)r$rIrr%ÚmanifestÚcompressed_payloadÚgx_datas&& rÚ
build_gx_filerUTs¸ô#€KØ × Ñ × Ò ÜÐ"9¸+¸Ð GÓ×)€Kô˜*€Hôœs ;ÓÓ:€HôÓômŠm˜HÓ9€G÷ܘ;Ó Ø×Ñ Ô
Ð" ; -¨r´#°g³,°¸ €Nrcó<V^8„dQhR\R\R\/#)rÚgx_pathÚmoder©rr')rs"rrrxs!÷
ñ
œSð
¬ð
¼Dñ
rcó\P!4p\VRV/R7p\P!4V,
pWCR&V# \d6p\P!4T,
pR\T4RT/uRp?#Rp?ii;i)z*Execute a .gx file through LAIN cognition.Úcognitive_mode)ÚcontextÚexecution_timeÚerrorN)r7r
Ú Exceptionr)rWrXr>ÚresultÚelapsedÚes&& rÚexecute_gx_filercxszä IŠIK€Eð 
Ü  Ð3CÀTÐ2JÔÜ—)’)“+ Õà#*ÐÑ Øˆ
øä ô
Ü—)’)“+ Õà ”S˜“VØ ˜gð
õ
ûð
ús—0AÁ BÁ*BÁ=BÂBcó<V^8„dQhR\R\R\/#)rr$rXrrY)rs"rrrs!÷ñ¤Cð¬sðÄ4ñrcó²\V4p\RV 24\\V44p\R4RVP R2, pVP V4\RV R24\
\V4V4pTVP4'dVP4## TP4'dTP4ii;i)z(Compress and execute source in one step.z
Compressing: z/tmpÚtemp_z.gxzExecuting through LAIN (z mode)...) rrPrUrÚstemrOrcrKÚunlink)r$rXrTÚtemp_gxr`s&& rÚexecute_compressedrjs¿ä#€Kä ˆM˜+˜Ð
œC  Ó-€Gô6l˜u [×%5Ñ%5Ð$6°cÐ:€GØ ×Ñ˜Ô ðÜ
Ш¨iÐ ¤ W£¨tÓ4ˆàð >‰>× Ò Ø N‰NÕ ð øˆ7>‰>× Ò Ø N‰NÕ ð úsÁ %B-ÂB-Â-)Ccó$V^8„dQhR\/#)rÚglyph_id)r)rs"rrr£s÷((3œsñ(3rc óôV'gR#\4\4\V4pV'g\RV R24R#VP R/4pVP RR4p\ WV4p\
WWC4p\V4p\RR 24\RV R VP R
R 4 24\R 4\R V 24\R
VP RR4 24\RVP RR4 24\RV 24\R\V4 24\RVR
R24\VR,4p\R4\\VR,V4^4Fwpwrš\RV RV R
RV
24K \V4^
8”d"\R\V4^
,
R24R#R# \dp \RT 24Rp ? R#Rp ? ii;i)!z;Display glyph information with superpowers and power boost.NzGlyph ú
not foundÚoriginalMetricsÚcategoryÚÚ
úGLYPH: ú - ÚnameÚUnknownú
Category: úBand: ÚbandúN/AúScore: ÚscoreúSpecialized Type: ú
Superpowers: ú
Power Boost: ú.2fÚx:Né
Nz
Top 10 Superpowers:ú ú. [Ú3dú] z
... and z morezError displaying glyph info: úF======================================================================)
r rr
rPÚgetrrrrQrÚ enumerateÚzipr_) rlÚglyphÚmetricsrpÚspecialized_typeÚsuperpower_idsÚ power_boostÚnamesÚsp_idÚsp_namerbs & rÚprint_glyph_infor”£ç Ùð#ÔÜÔä˜(ÓßÜ F˜8˜* JÐ à—)‘)Ð-¨rÓØ—9‘9˜Z¨ÓÜÀ8ÓÜ+¨HÐ?OÓÜ% nÓ5ˆ ä
8*ˆÜ
˜z  U§Y¡Y¨v°yÓ%AÐ$BÐ

ÔÜ
˜8˜
u—y‘y ¨Ó
˜Ÿ ™  '¨5Ó
Ð"Ð#3Ð"4Ð
œc 
˜k¨#Ð.¨aÐ% ^°CÕ%8Ó9ˆÜ
Ð'Ü#,¬S°ÀÕ1DÀeÓ-LÈaÖ#PÑ ˆAÑÜ Bqc˜˜U 2˜J ¨ Ð $Qô ˆ  Ô Jœs 2°RÕ8¸Ð  $øô ô
Ð-¨a¨SÐ2ûð3úsŒ6GÁF GÇ G7ÇG2Ç2G7cóFV^8„dQhR\R\\,/#)rr`rl)r'rr)rs"rrrÎs"÷@ñ@œð@¬´ñ@rcó€\R,4\R4\R+4V'd \V4RV9d8\RVR, 24\RVPR^4R
R24R#VPR /4p\R
4\R VPR R
4 24VPR.4pV'dF\R\V4 R24\ VR,^4FwrE\R V RV 24K VPR.4pV'dF\R\V4 R24\ VR,^4FwrG\R V RV 24K VPR.4pV'dF\R\V4 R24\ VR,^4FwrI\R V RV 24K VPR/4p
\R4\RVPR^4R
R24\RV
PRR