[REBOL] Embedded macros ..
From: reffy::ulrich::net at: 8-Sep-2002 17:58
Could someone give me an idea on how to parse something like embedded macros in Rebol?
Assume there are at least two types of macros one might find in a string:
$(RebolVariableorExpression)
%(EnvironmentVariable)
Examples:
The answer is: $(ans)
The homedir is: %(homedir)
Embedded examples:
The answer is: $($(a)$(n)$(s))
The homedir is: %($(home)$(dir))
where the variables:
a:
a"
n:"n"
s:"s"
ans:"Answer"
home:"home"
dir:"dir"
Must be the age ??
Dick