latticexyz / mud

MUD is a framework for building autonomous worlds
https://mud.dev
MIT License
718 stars 178 forks source link

use `forge build --ast` output in `contractToInterface` #3019

Open holic opened 1 month ago

holic commented 1 month ago

instead of using solidity-parser lib, which has poor error messages (see https://github.com/latticexyz/mud/issues/3003)

holic commented 1 month ago

sounds like there's no option to just get ast without compiling (https://github.com/foundry-rs/foundry/issues/7212)