I built a small Java library to parse mathematical interval notation into Guava Range objects and just published it to Maven Central.
Example: RangeParser.parse("[0..100)", Integer.class) → Range.closedOpen(0, 100)
Supports all Range types ([a..b], (a..b), [a..∞), etc.) and 17 built-in types including Integer, LocalDate, Duration, and BigDecimal. Also includes Jackson and Spring Boot modules.
I kept rewriting this parsing logic across projects, so I extracted it into a library. First time publishing to Maven Central.
GitHub:
https://github.com/neewrobert/guava-range-parser Would appreciate any feedback on the API design or suggestions for improvement.