bitcoin-sv / sol2scrypt

Solidity to sCrypt Transplier
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Use Sol Parser/ParseIO to generate Sol AST #35

Closed xhliu closed 2 years ago

xhliu commented 2 years ago

as in transpile, not hardcode it as in: https://github.com/sCrypt-Inc/sol2scrypt/blob/2a8c06cc6ee50283237c675840cc8e2a214bbc51/test/unit/Transformations/Sol2IR/Expression.hs#L12

Could just use: parseIO "true"

Change everywhere

xhliu commented 2 years ago

There are other places to change.