RSS Feeds

Previous entries

'Scheming', settings and tpserver-cpp

Posted 2005-05-26-0014

Before the show started and since it finished, I have been working on tpserver-cpp. The lastest news from the protocol TP03 is that Scheme is going to be the transmitted scripting language. Scheme.... a type of Lisp. Well, at least it is functional programming... I am going to use MzScheme as my implementation (for a start). It is going to be a mission to write an Autoconf macro to check for it, it is very non-standard. At least it is in Debian.

I have taken the quiet time before the design stuff gets standardised in TP03 to work on the Settings class. The Settings class was not being use (until now). It is basically the configuration of the server. I have added a few command line args (and updated the man page to match). The options so far are for: help, version, the address to listen on, the port to listen on, what messages to write to the console, and what configuration file to read. The configuration file isn't actually read yet, soon maybe. This was really in preparation for mysql support, but that might not happen for a while yet.