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

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 UTC