Currently the Doc group in the compiler consists of bunch of code written by bunch of different people in a different ranges of time. It has became a little bit of a mess, like a parser or such shenanigans https://github.com/starkware-libs/cairo/blob/4c85c2fd38f8039fdad5653b191917570f8d79eb/crates/cairo-lang-doc/src/helpers.rs#L191.
Also maybe we should separate parser logic from the db logic? just a suggestion
AC:
- Simplify parser if it's possible.
- Think about changing the overall structure of the package to make it more readable and implement it.
Currently the Doc group in the compiler consists of bunch of code written by bunch of different people in a different ranges of time. It has became a little bit of a mess, like a parser or such shenanigans https://github.com/starkware-libs/cairo/blob/4c85c2fd38f8039fdad5653b191917570f8d79eb/crates/cairo-lang-doc/src/helpers.rs#L191.
Also maybe we should separate parser logic from the db logic? just a suggestion
AC: