Re: [NTG-context] BNF grammar for ConTeXt (was: What happened with sectionworld?)

2009-04-30 Thread R. Bastian
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 >

Re: [NTG-context] BNF grammar for ConTeXt

2009-04-30 Thread Wolfgang Schuster
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

Re: [NTG-context] BNF grammar for ConTeXt

2009-04-30 Thread 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!? ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] BNF grammar for ConTeXt (was: What happened with sectionworld?)

2009-04-30 Thread luigi scarso
> > > > 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

Re: [NTG-context] BNF grammar for ConTeXt (was: What happened with sectionworld?)

2009-04-30 Thread R. Bastian
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 >

Re: [NTG-context] BNF grammar for ConTeXt (was: What happened with sectionworld?)

2009-04-30 Thread luigi scarso
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 > > >> > > >>

Re: [NTG-context] BNF grammar for ConTeXt (was: What happened with sectionworld?)

2009-04-30 Thread R. Bastian
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

Re: [NTG-context] BNF grammar for ConTeXt (was: What happened with sectionworld?)

2009-04-30 Thread luigi scarso
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

[NTG-context] BNF grammar for ConTeXt (was: What happened with sectionworld?)

2009-04-29 Thread Wolfgang Schuster
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