OMH4ck / PolyGlot

MIT License
36 stars 6 forks source link

How to refactor source code via IR? #51

Closed HopeDevote closed 7 months ago

HopeDevote commented 7 months ago

Hello, author I want to know how to perform inorder traversal on the IR program to reconstruct the original source program? Where is the corresponding code?

Changochen commented 7 months ago

https://github.com/OMH4ck/PolyGlot/blob/7162dbc78f24ee3cc6ed019ef42a0cd913815e47/srcs/internal/srcs/ir.cpp#L119

HopeDevote commented 7 months ago

您好,您的文件我已收到!