On Thu, 30 Apr 2009 12:12:10 +0200
luigi scarso scribit:
> >
> >
> > > My suggestions to start :
> > > 1) define a **simple but significative** domain ,ie "this grammar is for
> > > subset of ConTeXt language dedicated to variable-data pdf forms"
> >
> > yes
> >
> > > 2) make a bnf grammar spec
>
Am 30.04.2009 um 12:45 schrieb Vyatcheslav Yatskovsky:
"In a recent MkIV you even have the option to enable
a key-val-checkers which mention invalid keys on the terminal."
Oh, dear! How!?
Example:
\usemodule[letter]
\enablecheckparameters
\starttext
\setupletterstyle[subject][style=bol
"In a recent MkIV you even have the option to enable
a key-val-checkers which mention invalid keys on the terminal."
Oh, dear! How!?
___
If your question is of interest to others as well, please add an entry to
>
>
> > My suggestions to start :
> > 1) define a **simple but significative** domain ,ie "this grammar is for
> > subset of ConTeXt language dedicated to variable-data pdf forms"
>
> yes
>
> > 2) make a bnf grammar spec
>
> yes
>
> > 3) build a parser lex/yacc for 2)
>
> later
>
why ? There is no
On Thu, 30 Apr 2009 10:57:04 +0200
luigi scarso scribit:
> On Thu, Apr 30, 2009 at 10:16 AM, R. Bastian wrote:
>
> > On Thu, 30 Apr 2009 09:48:40 +0200
> > luigi scarso scribit:
> >
> > > R. Bastian:
> > >
> > > > CONTEXT_SOURCE ::= PREAMBLE "\starttext" TEXT "\stoptext" |
> > CONTEXT_SOURCE
>
On Thu, Apr 30, 2009 at 10:16 AM, R. Bastian wrote:
> On Thu, 30 Apr 2009 09:48:40 +0200
> luigi scarso scribit:
>
> > R. Bastian:
> >
> > > CONTEXT_SOURCE ::= PREAMBLE "\starttext" TEXT "\stoptext" |
> CONTEXT_SOURCE
> > >>> TEXT ::= STARTSTOPS | SETUPS | DEFINES | OTHERS [ TEXT
> > >>
> > >>
On Thu, 30 Apr 2009 09:48:40 +0200
luigi scarso scribit:
> R. Bastian:
>
> > CONTEXT_SOURCE ::= PREAMBLE "\starttext" TEXT "\stoptext" | CONTEXT_SOURCE
> >>> TEXT ::= STARTSTOPS | SETUPS | DEFINES | OTHERS [ TEXT
> >>
> >> luigi:
>
> > To be general, i think
> >> MY_CONTEXT_SOURCE ::= MACR
R. Bastian:
> CONTEXT_SOURCE ::= PREAMBLE "\starttext" TEXT "\stoptext" | CONTEXT_SOURCE
>>> TEXT ::= STARTSTOPS | SETUPS | DEFINES | OTHERS [ TEXT
>>
>> luigi:
> To be general, i think
>> MY_CONTEXT_SOURCE ::= MACRO* END
>>
>
R. Bastian:
> I dont understand the sense of "\end\starttext"
s
Am 29.04.2009 um 23:16 schrieb R. Bastian:
I think that a bnf or lpeg grammar is really useful for a sort of
standard-ConTeXt
or minimal-ConTeXt or light-ConTeXt
ie a ConTeXt to use as "reference"
Exactly what I need : standard, minimal and light
How could a BNF grammar help to learn ConTeX