[LLVMdev] Compiler Driver [high-level comments]

Bill Wendling wendling at isanbard.org
Mon Aug 2 22:00:16 PDT 2004


Chris Lattner wrote:
 
} > I tend to agree. I'm a strong advocate of XML myself (on other
} > projects). However, introducing XML would make LLVM dependent on some
} > kind of XML parser. We could probably get away with expat (small, fast)
} > for our purposes in LLVM, but there is still the issue of dependency. To
} 
} To me, it's not a matter of "one more dependency".  If it makes sense and
} buys us something tangible, it would make sense to go with XML.  In my
} mind, for our purposes, if the config file gets complex enough to need
} tool support like this, we have already failed.
} 
Okay. I didn't know how complex you were expecting the config files. But
keep in mind that a parser will still be needed for MS style INI files.

I admit a bias here: I've worked with MS style INI files. They didn't
leave a good impression with me. However, they do fit the bill for a lot
of applications. What do you envision a typical INI file to look like?

-bw

-- 
||  "If wishes and buts were clusters of nuts, we'd all have a bowl of
||   granola!" - Mr. Jellineck




More information about the llvm-dev mailing list