www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Parser (not parser generators) and ctfe

Does it exists a working ctfe parser for xml or ini or something 
suitable for config file?

Something that import() file and reads values at compile times.

For example:
On my (php) website I use an optimized c++ backend (compiled as 
php module). Profiling code I see that website wastes a lot of 
time on opening, reading and parsing config files (a couple of 
files where i read hosts, ports, etc..). If these value was 
compiled as consts it would be a great boost...
Mar 25 2012