From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17354 Path: main.gmane.org!not-for-mail From: Nikolai Weibull Newsgroups: gmane.comp.tex.context Subject: Re: BNF module (was: Wrapping \type{}) Date: Thu, 2 Dec 2004 15:43:05 +0100 Message-ID: <20041202144305.GC11149@puritan.pcp.ath.cx> 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> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1101999766 27556 80.91.229.6 (2 Dec 2004 15:02:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Dec 2004 15:02:46 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 02 16:02:40 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 1CZsAq-0005mG-00 for ; Thu, 02 Dec 2004 15:43:12 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 43865127CE; Thu, 2 Dec 2004 15:43:11 +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 20640-04; Thu, 2 Dec 2004 15:43:06 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 54A4C127AE; Thu, 2 Dec 2004 15:43:06 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CCC47127AE for ; Thu, 2 Dec 2004 15:43:05 +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 20643-04-2 for ; Thu, 2 Dec 2004 15:43:05 +0100 (CET) Original-Received: from mxfep01.bredband.com (unknown [195.54.107.70]) by ronja.ntg.nl (Postfix) with ESMTP id 11F5812775 for ; Thu, 2 Dec 2004 15:43:05 +0100 (CET) Original-Received: from puritan.pcp.ath.cx ([213.112.43.197] [213.112.43.197]) by mxfep01.bredband.com with ESMTP id <20041202144304.YVYW18879.mxfep01.bredband.com@puritan.pcp.ath.cx> for ; Thu, 2 Dec 2004 15:43:04 +0100 Original-Received: by puritan.pcp.ath.cx (Postfix, from userid 1000) id 44DC2AE066; Thu, 2 Dec 2004 15:43:05 +0100 (CET) Original-To: ntg-context@ntg.nl Mail-Followup-To: ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i 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:17354 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17354 (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. nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}