Date: Tue, 28 Jan 1997 14:46:53 +1030 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: imp@village.org (Warner Losh) Cc: msmith@atrad.adelaide.edu.au, chat@freebsd.org, config@freebsd.org Subject: Re: Kernel config metasyntax Message-ID: <199701280416.OAA06928@genesis.atrad.adelaide.edu.au> In-Reply-To: <E0vp4Oi-00037g-00@rover.village.org> from Warner Losh at "Jan 27, 97 08:39:48 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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 [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701280416.OAA06928>