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 Download NeoPlanet at http://www.neoplanet.com -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
