<html>
<body>
I may be going to far here, but what about the ability to define new
devices?  Or composite devices.<br><br>
<x-tab>        </x-tab>define
warpdisk<br>
<x-tab>        </x-tab><x-tab>        </x-tab>cpu
p3<x-tab>  </x-tab><x-tab>        </x-tab><x-tab>        </x-tab>#
Warp disk controller<br>
<x-tab>        </x-tab><x-tab>        </x-tab>include
vendor/warpdisk_driver.inc<br>
<x-tab>        </x-tab>end<br><br>
<x-tab>        </x-tab>mainboard
vendor/model<br>
<x-tab>        </x-tab><x-tab>        </x-tab>cpu
p5<br>
<x-tab>        </x-tab><x-tab>        </x-tab>warpdisk<br>
<x-tab>        </x-tab><x-tab>        </x-tab>...config...<br>
<x-tab>        </x-tab>end<br><br>
Also I don't know if the current structure allows options.<br><br>
<x-tab>        </x-tab>superio
vendor/model IDE2=0<x-tab>     </x-tab># For
setting #defines for this included device.<br>
<x-tab>        </x-tab>warpdisk
ID=0 MAXDISK=3 <br>
<x-tab>        </x-tab>warpdisk
ID=1 MAXDISK=2<br>
<x-tab>        </x-tab><br>
Jordan<x-tab>  </x-tab><br><br>
<blockquote type=cite class=cite cite><pre>On Mon, 19 May 2003, Greg
Watson wrote:

> Defining the tree from bottom-up is somewhat non-intuitive and 
</i>> potentially confusing. It seems more natural to define the tree 
</i>> structure top-down as follows:
</i>> 
</i>> mainboard vendor/model
</i>>    cpu p5
</i>>    southbridge vendor/model
</i>>    end
</i>>    southbridge vendor/model2
</i>>      superio vendor/model
</i>>        ...config...
</i>>      end
</i>>    end
</i>> end
</i>
OH, ok, you win. I had thought of this but hate the idea of writing a 
parser ... string handling in C is like walking on broken glass.


> mainboard motorola/sandpoint
</i>>    pmc altimus/mpc7500
</i>>      northbridge motorola/mpc107
</i>>    end
</i>>    southbridge windbond/w83c553
</i>>      superio NSC/pc97307
</i>>        com1={1}
</i>>        com2={1}
</i>>        floppy=0
</i>>        lpt=1
</i>>        keyboard=1
</i>>        hwmonitor=1
</i>>      end
</i>>    end
</i>>    nvram
</i>>    flash
</i>> end
</i>
agreed, it's pretty. But NOBODY is allowed to suggest lexical scoping
from 
indentation. That's not allowed :-)

Greg, parser in the usual lex/yacc/C mode or .... I'll see if anybody's 
got parsers written in python.

ron
</pre><font face="Courier New, Courier"></font></blockquote></body>
</html>