TEMPERATURE = cold
EXTENT = " long "
SEASON = '$EXTENT $TEMPERATURE winter'
MORE = and $TEMPERATURE ice
CONTAINS = lots of ${TEMPERATURE} snow and $MORE
MESSAGE = I wish you a ${SEASON}, with $CONTAINS
the output becomes
I wish you a long cold winter, with lots of cold snow and and cold ice
This pull request adds support for recursive variable definitions, where variables can be referred to as ${VARIABLE} or $VARIABLE.
Example: Given this program
and this 'resolve.env'
the output becomes