<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div>Hi,<br><br>I'm analysing the LLD code structure (aka architecture) and am<br></div>trying to mold it into a component model.<br></div>Currently I see 4 components:<br>
</div>- Driver<br></div>- ReaderWriter<br></div>- Passes<br></div>- Core<br><br></div>I wonder if this is the order that they're supposed to be in,<br></div>since there are also code dependencies upwards from:<br></div>
  Core -> ReaderWriter<br></div>  Passes -> ReaderWriter<br></div>  ReaderWriter -> Driver<br><br></div>For a graphical view check:<br><a href="http://c2lang.org/docs/lld_architecture_96e1b5e02.png">http://c2lang.org/docs/lld_architecture_96e1b5e02.png</a><br>
<br></div><div>I think that with a few surgical patches, the dependency tree<br>can be completely free of circular deps.<br></div><div><br></div>Bas<br><br></div>