Mirror of the Rel4tion website/wiki source, view at <http://rel4tion.org>
Clone
HTTPS:
git clone https://vervis.peers.community/repos/yEzqv
SSH:
git clone USERNAME@vervis.peers.community:yEzqv
Branches
Tags
2.mdwn
[[!template id=ticket class=task assigned=fr33domlover done=yes]]
[[!meta title=“Rearrangement”]]
Issue
I wrote the library quickly without much refactoring and a minimal number of comments. Choose a new module layout, at least for the internal parts, and adapt the exported modules accordingly.
Process
Ideas:
- Create a
Tokens
module to be whatParser
is now. Then haveParse
andSerialize
modules, which handle both messages and replies and all the smaller related types. - Perhaps have an
Internal
module holding the actual code under it, and exported modules which just re-export things fromInternal
.
Result
Rearrangement done. Could be changed further in the future, but I think the general structure is good now.
–[[fr33domlover]]