[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: draft minutes from the sming interim:
>>>>> Dave Shield writes:
Dave> The analogy that springs to mind is HTML comments <!-- .... -->
Dave> and their use for server-parsed configuration <!--#cmd .... -> A
Dave> similar technique could well be used here.
Which are if I understand correctly still formally comments and not
language featured directives...
Directives might get rather complicated once you leave the space of
simple hints for parsers to supress certain warnings/errors.
Directives to drive code generators really are no longer simple
directives but end up being little languages on their own. The NMRG
SMIng proposal provided a mechanism to write such little language
extensions in a syntax which is based on the SMI core syntax and it
allowed to link extensions to other definitions in SMIng modules by
using annotations (so the annotations using the extensions can be
separated from the core SMI module definitions).
/js
--
Juergen Schoenwaelder <http://www.informatik.uni-osnabrueck.de/schoenw/>