Joel de Guzman wrote:
> Joel de Guzman wrote:
> 
>> With the explicit use of [! ... ] for templates and macros, we can also
>> remove the parens for the template argument list:
>>
>>      [!alpha][!super 2]
>>      x[!super 2]
> 
> In fact, there's enough context there to omit the bang (!):
> 
>      [alpha][super 2]
>      x[super 2]
> 
> Note again that many of the current Qbk markups can now be
> made into templates, significantly simplifying the code.

I really like this direction! In fact I have given some thought to the 
current quickbook grammar and the conclusion I came to is that it is 
highly redundant. We could probably get away with just couple of general 
rules and lots of templates (in code or otherwise).

> Examples:
> 
>      [footnote A sample footnote]
>      [blurb a blurb]
>      [note This is a note]
>      [tip This is a tip]
>      [important This is important]
>      [caution This is a caution]
>      [warning This is a warning]

One question though... How do you decide where an argument ends and 
another begins? Brackets instead of commas?

     [pow [x][y]]

?

> Maybe soon, we'll actually have quickbook template libraries :)

Yeah, we should register quick-boost.org ;-)


João



_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to