expanding templates?

From: Ross Bencina (rossb@audiomulch.com)
Date: Sat Sep 09 2000 - 09:11:25 EDT


Hi Saolers,

I'm interested to know how others have interpreted template processing....

firstly, are templates expanded recursively?

secondly, clearly every template identifier that appears in an <expr> within
the code block should be expanded, however I'm not sure about the following
cases, can a template identifier be used as:

- the name of a variable in a variable declaration ?
- the width of an array in an array variable or oparray declaration ?
- the name of a table in a table declaration ?
- the name of a wavetable generator in a table declaration ?
- the size expression in a table declaration ?
- a parameter expression in a table declaration ?
- the name of the instrument in an instr statement ?
- the name of the buss in an outbus statement ?
- an lvalue ?
- the name portion of an array lvalue ?
- the name of an opcode in an opcode call ?
- the name of an opcode in an oparray call ?

With thanks,

Ross.
.................................
http://www.audiomulch.com/~rossb/



This archive was generated by hypermail 2b29 : Mon Jan 28 2002 - 12:03:58 EST