RE: [sv-bc] Mantis 1571: Add default values for macro arguments

From: Jonathan Bromley <jonathan.bromley_at_.....>
Date: Fri Oct 20 2006 - 06:07:17 PDT
> So we want to have a macro definition syntax which has some sort of
> begin-end delimiters, such as `begin_define - `end_define, 

If people are considering radical enhancements to the
macro mechanism, has anyone taken a look at the
syntax-aware macros available in 'e' using "define as" ?
This mechanism permits you to create macros that are
restricted so that they can be used only in place of a 
chosen specific syntax production, such as a procedural 
statement or a class definition.

Such a macro, when instantiated, can pick up 
"arguments" from places other than a conventional 
argument list, because it knows in what context it 
will be used.

Just a thought.
-- 
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd. Church Hatch, 22 Market Place, Ringwood, Hampshire, BH24 1AW, UK
Tel: +44 (0)1425 471223                   Email: jonathan.bromley@doulos.com
Fax: +44 (0)1425 471573                           Web: http://www.doulos.com

The contents of this message may contain personal views which 
are not the views of Doulos Ltd., unless specifically stated.
Received on Fri Oct 20 06:07:23 2006

This archive was generated by hypermail 2.1.8 : Fri Oct 20 2006 - 06:07:36 PDT