Parts of rustc will need to be used outside of the compiler and splitting it up will help improve the design.
One possible division:
- front - ast, parser, pretty-printer
- middle - resolver, typechecker, typestate
- back - trans, link, etc.
creader needs to be somewhere as well. Needs more thought and discussion.
Parts of rustc will need to be used outside of the compiler and splitting it up will help improve the design.
One possible division:
creader needs to be somewhere as well. Needs more thought and discussion.