W3C home > Mailing lists > Public > www-style@w3.org > February 2013

Re: [css3-syntax] Editorial: "Other specs can define additional entry points"

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sat, 23 Feb 2013 16:03:02 -0800
Message-ID: <CAAWBYDAgwfjGZ_=b1Q5vac5yPg8FcFy1T91kZMnUXLrUMdC9HQ@mail.gmail.com>
To: Simon Sapin <simon.sapin@kozea.fr>
Cc: www-style list <www-style@w3.org>
On Sat, Feb 23, 2013 at 12:44 PM, Simon Sapin <simon.sapin@kozea.fr> wrote:
> Hi,
>
> A recent change added this note:
>
>> Other specs can define additional entry points for their own purposes.
>
> How would they do that? By using, for example "Consume a declaration"
> directly?

Yes, by just defining their own.

> How about getting rid of "entry points" and just say that other spec can
> just use any of the parser’s "algorithms"? In other words, merging the
> "Parser Entry Points" section into the "Parser Algorithms" section. This is
> easier now that the parser is a bunch of "functions" rather than a state
> machine.

The provided "parser entry points" are just shorthands for other specs
to use.  We can move them into other specs, but that won't gain us
anything.  Or did you mean something else?

~TJ

> --
> Simon Sapin
>
Received on Sunday, 24 February 2013 00:03:52 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:06 GMT