Cross referencing in Ddoc

Jacob Carlborg doob at me.com
Fri Jan 3 03:14:02 PST 2014


On 2014-01-02 22:38, H. S. Teoh wrote:

> The limitation of macro systems is that, fundamentally speaking, no
> semantics are assigned to macros. A macro is just an arbitrary name that
> gets recursively substituted with some pre-specified pattern.  The macro
> engine doesn't know what any of the macros "mean", and therefore has no
> concept of things like cross-referencing, categorization, etc., which
> are all higher-level, logical concepts, that are required in order to
> move data around.

We could start adding semantic meaning to some macros. They would become 
built-in macros ddoc knows about.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list