paradigmxyz / solar

Blazingly fast, modular and contributor friendly Solidity compiler, written in Rust
Apache License 2.0
298 stars 24 forks source link

Implement HIR visitor #63

Open DaniPopes opened 1 month ago

DaniPopes commented 1 month ago

Describe the feature

Implement HIR visitor traits and functions using the visitor macro, similar to the AST ones.

The main difference here is that we need to recurse using the Hir struct, which means that there should be an extra fn hir(&self) -> Hir<> method to return it and that is used in the other methods to recurse.

Additional context

No response

mahmudsudo commented 2 weeks ago

hi, can i take on this ?

mahmudsudo commented 2 weeks ago

Any update on this ?

DaniPopes commented 2 weeks ago

Sure go ahead

mahmudsudo commented 2 weeks ago

Ok on it

gakonst commented 5 days ago

hey @mahmudsudo any update here? also would love for people to describe the solution they want to design before asking for taking it!