From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5883 Path: main.gmane.org!not-for-mail From: Berend de Boer Newsgroups: gmane.comp.tex.context Subject: Re: BNF grammar Date: 16 Oct 2001 16:40:27 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <87d73nfy1w.fsf@dellius.nederware.nl> References: <9815.1003238855@www10.gmx.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035396447 5410 80.91.224.250 (23 Oct 2002 18:07:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:07:27 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Marco Kuhlmann In-Reply-To: <9815.1003238855@www10.gmx.net> Xref: main.gmane.org gmane.comp.tex.context:5883 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5883 Marco Kuhlmann writes: > I would like to define an environment "bnfgrammar" to typeset > grammars in BNF format. What I thought is that you could type You might want to take a look at the verb-*.tex files. This is the preferred way to handle pretty printing. Simple look-ahead and maintaining some state works surprisingly well. -- Groetjes, Berend. (-: