From owner-freebsd-config Mon Jan 27 20:17:11 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA15889 for config-outgoing; Mon, 27 Jan 1997 20:17:11 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA15881; Mon, 27 Jan 1997 20:17:06 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id OAA06928; Tue, 28 Jan 1997 14:46:54 +1030 (CST) From: Michael Smith Message-Id: <199701280416.OAA06928@genesis.atrad.adelaide.edu.au> Subject: Re: Kernel config metasyntax In-Reply-To: from Warner Losh at "Jan 27, 97 08:39:48 pm" To: imp@village.org (Warner Losh) Date: Tue, 28 Jan 1997 14:46:53 +1030 (CST) Cc: msmith@atrad.adelaide.edu.au, chat@freebsd.org, config@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-config@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Warner Losh stands accused of saying: > In message <199701280325.NAA06408@genesis.atrad.adelaide.edu.au> Michael Smith writes: > : What's wrong with : > > I don't want to write TCL to add options to the kernel :-) Argh! You don't _have_ to! Please don't muddy the waters like this. We are talking about a _metaconfiguration_ spec, for a tool which produces, as its end result, a traditional config(8) input file. You are not being asked to write the tool. To add an option, you would write an option definition in the metaconfiguration language. The example I provided _explicitly_ parses the metaconfiguration language samples that I posted earlier; it simply takes advange of the braced syntax and the Tcl parser to avoid reinventing the wheel. If you want to parse the syntax in another language, it's still easy. -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[