Actually, I based it on Python’s string formatting syntax, because it actually had a reasonable way to escape { and } , unlike every other syntax I could find.

Edit: I just realized that Rust’s escaping and formatting syntax is pretty much the same!