Closed SimonGuilloud closed 11 months ago
You can also check how it is done in Inox: https://github.com/epfl-lara/inox/blob/master/doc/interpolations.md
The interpolators were defined using standard parsing combinators, which are a bit more flexible, but more dangerous to use. https://www.scala-lang.org/api/2.12.8/scala-parser-combinators/scala/util/parsing/combinator/Parsers.html
String interpollation should allow to refer to formulas previously existing inside a string. Example:
This is transformed to `
and hence requires to define