Open ToxicFrog opened 11 years ago
848fd7204706b133552f2cd69c1fac2e7db9215b implements this, although the syntax and API are still a work in progress; I'm not ready to mark this closed (or cut a new release) until I'm happy with them.
Syntax uses &name
, since $name
is reserved for future expansion (backreferences).
It is often convenient to incrementally build a format string, creating format strings describing individual sub-records before combining them into something larger. This is currently unwieldy and must be done with
..
orstring.format
.It would be nice to be able to do something like, say:
Syntax is still a work in progress, and this can be considered an intermediate step towards format string combinators (which I need to open an issue for).