Anope IRC Services

Anope Development => Feature Requests => Topic started by: katsklaw on July 28, 2007, 03:10:37 PM

Title: bind style config file
Post by: katsklaw on July 28, 2007, 03:10:37 PM
many modern ircd's and some other services packages have moved away from the old line based config files and moved to block or bind style config files. I feel it's time for Anope to do the same.

remote {
 server1 "irc1.host 6667 somepassword";
 server2 "irc2.host 6667 somepassword";
 server3 "irc3.host 6667 somepassword";
};

instead of:
RemoteServer    1.2.3.4 4400 "Pass"
RemoteServer2    1.2.3.4 4400 "Pass"
RemoteServer3   1.2.3.4 4400 "Pass"
Title:
Post by: Pieter Bootsma on July 30, 2007, 08:47:57 AM
This has been planned and work on this will be started for the next major release after 1.8
Title:
Post by: wshs on August 14, 2007, 12:08:02 AM
I'd suggest reading up on bison and flex (gnu.org/software/$thing). It makes configuration parsers extremely easy to code.