Joel de Guzman wrote:
> Rene Rivera wrote:
> 
>> Well something close would be possible:
>>
>>      [% compile()]
>>
>> With this template:
>>
>>      [template %[comment]'''<!-- @'''[comment]''' -->''']
>>
>> And of course you could make the template do whatever you want :-) You 
>> just can't use "@" as that's already taken.
> 
> I realize that punctuation templates will be more important.
> Right now, we are allowing single-char punctuations as template
> IDs. Maybe we should also allow multiple punctuation marks?
> Example:
> 
>      [template !![arg] some-[arg]-here]

Is there a reason to limit the identifier in the first place? I can 
think it might be nice to have punctuations combined with alpha numeric 
for specifying variants of a class of templates. For example in the same 
literate style docs, of designating test cases:

[compile c++
   return true; // always passes
]

[!compile c++
   return if (false); // always expected syntax error
]

[!run c++
   return false; // always expected fail
]


-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to