https://github.com/bb441db/parsef
Parser for java.util.Formatter (printf)
https://github.com/bb441db/parsef
Last synced: 10 months ago
JSON representation
Parser for java.util.Formatter (printf)
- Host: GitHub
- URL: https://github.com/bb441db/parsef
- Owner: bb441db
- License: mit
- Created: 2020-02-13T22:05:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-14T17:18:58.000Z (over 6 years ago)
- Last Synced: 2025-08-03T12:46:01.941Z (10 months ago)
- Language: Kotlin
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Parsef
Exposes `Formatter.parse(s: String): List` using reflection
### Usage
**Kotlin**
```kt
parsef("Example %1\$s")
```
**Java**
```kt
FormatterExtensions.parsef("Example %1$s")
```
### TODO
- Verify implementation of `java.util.Formatter` are equal on different jvm targets