Parser (not parser generators) and ctfe

Andrea Fontana nospam at example.com
Sun Mar 25 04:35:13 PDT 2012


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...




More information about the Digitalmars-d-learn mailing list