: Questionable whether font-shorthand grammar LL(1)
Thanks everyone for your parser suggestions. I believe we should be able
to do without one for the font shorthand, but this is definitely
something to keep in mind if we want to improve the parsing of other
properties.
I’m starting to realise that the most
Hi Jonathan,
Jonathan Levinson wrote:
> Hi Vincent,
>
> Excellent ideas!
>
> The diagram you drew is extremely useful!
>
> If the font shorthand sub-language has a grammar that is regular then it also
> has a grammar that is LL(1). So recursive descent parsing will work, if
> there is a re
ardi 29 septembre 2009 13:00
> À : fop-dev@xmlgraphics.apache.org
> Objet : Re: Questionable whether font-shorthand grammar LL(1)
>
> Hi Vincent,
>
>
> 2009/9/29 Vincent Hennebert :
>>> How about specifing the grammer and using a tool such as JavaCC to
>>> gene
e: Questionable whether font-shorthand grammar LL(1)
Hi Jonathan,
Interesting stuff!
Jonathan Levinson wrote:
> Hi Vincent,
>
>
> Because font-variant font-style and font-weight can occur in any
> order, I could not (currently) come up with a grammar in which the
> directin
@gmail.com [mailto:berger@gmail.com] De la part de Max Berger
Envoyé : mardi 29 septembre 2009 13:00
À : fop-dev@xmlgraphics.apache.org
Objet : Re: Questionable whether font-shorthand grammar LL(1)
Hi Vincent,
2009/9/29 Vincent Hennebert :
>> How about specifing the grammer and using a tool su
Hi Vincent,
2009/9/29 Vincent Hennebert :
>> How about specifing the grammer and using a tool such as JavaCC to
>> generate the actual parser? This way you could focus more complete
>> grammer and have to spend less time writing the parser.
> That would be the same as using ANTLR. I feel that thi
Hi Max,
Max Berger wrote:
> Hi *,
>
> I just want to throw in a different idea (you may ignore it if you like):
>
> How about specifing the grammer and using a tool such as JavaCC to
> generate the actual parser? This way you could focus more complete
> grammer and have to spend less time writin
Hi *,
I just want to throw in a different idea (you may ignore it if you like):
How about specifing the grammer and using a tool such as JavaCC to
generate the actual parser? This way you could focus more complete
grammer and have to spend less time writing the parser.
JavaCC is BSD license, so
Hi Jonathan,
Interesting stuff!
Jonathan Levinson wrote:
> Hi Vincent,
>
>
> Because font-variant font-style and font-weight can occur in any order,
> I could not (currently) come up with a grammar in which the directing
> sets were disjoint for each non-terminal. So I was unable to come up
>
Hi Vincent,
I dusted off my books on parsing and compiling (also using some
Web-sites to do research) and looked at writing a formal grammar for
font-shorthand.
Because font-variant font-style and font-weight can occur in any order,
I could not (currently) come up with a grammar in which
10 matches
Mail list logo