From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17353 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: BNF module Date: Thu, 02 Dec 2004 15:55:45 +0100 Message-ID: <41AF2CF1.7070804@wxs.nl> References: <20040529232021.GA3268@puritan.pcp.ath.cx> <6.1.1.1.2.20040601203125.07daf140@server-1> <20040601212422.GA2739@puritan.pcp.ath.cx> <20040623181550.GB5456@puritan.pcp.ath.cx> <20041202144305.GC11149@puritan.pcp.ath.cx> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1101999363 26090 80.91.229.6 (2 Dec 2004 14:56:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Dec 2004 14:56:03 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 02 15:55:52 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CZsN5-0007OI-00 for ; Thu, 02 Dec 2004 15:55:51 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3A1A0127CB; Thu, 2 Dec 2004 15:55:51 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20844-03; Thu, 2 Dec 2004 15:55:49 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DD57D127BF; Thu, 2 Dec 2004 15:55:48 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1BA42127BF for ; Thu, 2 Dec 2004 15:55:47 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20839-03 for ; Thu, 2 Dec 2004 15:55:46 +0100 (CET) Original-Received: from mailrelay02.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 5890B12799 for ; Thu, 2 Dec 2004 15:55:46 +0100 (CET) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id iB2Ethpw023635 for ; Thu, 2 Dec 2004 15:55:43 +0100 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id E42DE19788; Thu, 2 Dec 2004 15:55:45 +0100 (CET) Original-Received: from [10.100.1.191] (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id AC18219783 for ; Thu, 2 Dec 2004 14:55:44 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <20041202144305.GC11149@puritan.pcp.ath.cx> X-Virus-Scanned: ClamAV 0.80/540/Tue Oct 19 14:59:23 2004 clamav-milter version 0.80j on mailrelay02 X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17353 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17353 Nikolai Weibull wrote: > (Hehe, one has to love age-old threads that are still active ;-) > > * Patrick Gundlach [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 ----------------------------------------------------------------- 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 -----------------------------------------------------------------