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 sense==semantic

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 luigi.sca...@gmail.com 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 ::=

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 rbast...@free.fr wrote: On Thu, 30 Apr 2009 09:48:40 +0200 luigi scarso luigi.sca...@gmail.com scribit: R. Bastian: CONTEXT_SOURCE ::= PREAMBLE \starttext TEXT \stoptext | CONTEXT_SOURCE TEXT ::= STARTSTOPS | SETUPS | DEFINES | OTHERS [

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 luigi.sca...@gmail.com scribit: On Thu, Apr 30, 2009 at 10:16 AM, R. Bastian rbast...@free.fr wrote: On Thu, 30 Apr 2009 09:48:40 +0200 luigi scarso luigi.sca...@gmail.com scribit: R. Bastian: CONTEXT_SOURCE ::= PREAMBLE

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 difference between 2

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 luigi.sca...@gmail.com 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

[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