[NTG-context] BNF module

Hans Hagen pragma at wxs.nl
Thu Dec 2 15:55:45 CET 2004

Nikolai Weibull wrote:
> (Hehe, one has to love age-old threads that are still active ;-)
> * Patrick Gundlach <patrick at gundla.ch> [Dec 02, 2004 15:30]:
>>after I loooong time I finally managed to try your bnf module. It
>>looks very good. And it even works with \mainlanguage[de] (it wasn't
>>obvious, because you use "..." as a delimiter).
> Thank you, I hope to make it _the_ BNF module for ConTeXt some day ;-).
> About the delimiters, if you know of a better way to do this, then
> please tell me, I've gone through about 3 different ways of doing this,
> but the current one, using \defineactivecharacter, has worked best so
> far.

i haven't looked into it but since it's a language, i can imagine that you 
misuse that fact: \language[bnf] or so, since languages can have specifics 
(active things) and encodings associated; you just don't have patterns then


                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl

More information about the ntg-context mailing list