r/Protos • u/guillermoamolina • 9d ago
Protos: Modularizing seven Standard Library implementations in Protos itself
Another step forward for the Protos-first Standard Library.
I've reorganized seven library implementations into cohesive private Protos SOURCE components:
- TOML
- JSON
- Regex
- CommandLine
- FFI
- URI
- Array
Their public APIs remain unchanged, while their internal implementations are now organized around clearer responsibilities.
JSON's tree and event parsers also share lexical and exact-number algorithms without losing their independent parsing behavior.
The goal is to keep library logic in Protos itself, rather than introducing unnecessary Java infrastructure, and make the Standard Library easier to maintain and evolve.
All local tests pass. The changes are now in main.