Maybe in another iteration. I have hundreds of template files and hence the motivation for the embedded macros. I want to process what I have in Rebol without having to recode thousands of lines of template files into Rebolese. But, you are giving me food for thought.
> Dick wrote: > > EXAMPLE: LN VN VV > > Task1 homedir $(bindir)/$(apname) > > Could the string in the VV column be converted? Perhaps to: > bindir/:apname > > >> bindir: %/C/Bin/ > == %/C/Bin/ > >> apname: "Test" > == "Test" > >> bindir/:apname > == %/C/Bin/Test > > It might be easier to use a dialect, something like: > "Task1" homedir: (bindir/:apname) > Where the first value is a string!, the second is a set-word! and the last > is a paren! value. > > > 1. I have a language generator which reads a high-level driver file > containing named sets of attributes. > > I think that suitable 'parse rules should be able to handle this. A special > dialect could be useful as well. You might want to look at my ML, CSS and > Fixed dialects to get some ideas. > > Andrew Martin > ICQ: 26227169 http://valley.150m.com/ > -><- > > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. >** --------- End Original Message ----------- ** > 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.
