Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Embedded macros ..

From: al:bri:xtra at: 10-Sep-2002 16:54

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/