Thursday, July 10, 2014

Writing a great end-user-friendly configuration publisher in Python

The parser with regard to fetchmail's configuration file syntax is pretty elaborate. It's actually written in YACC in addition to Lex, two classic UNIX resources for generating language-parsing rule in C. In order for fetchmailconf in order to edit existing setting files, I thought it must replicate that detailed parser in Python. I was very reluctant to do this, partly because of the quantity of work involved along with partly because My spouse and i wasn't sure the best way to ascertain that two parsers in a pair of different languages accept identical. The last issue I needed was the excess labor of keeping both the parsers in synchronization because the configuration language advanced!

Monday, July 7, 2014

Writing code that could still run years from now

It's great which the Python team is planning on this, and for sure they are far more gifted and skilled than Let me ever be. Still, I would estimate there is a 100% that a person's code somewhere will get rid of working how a want it's meant to when Python is upgraded.