Archive for November 2011

Generating a Feature Matrix from text files

I’ve been trying to compare the existing features of Alexandria with the currently implemented and planned features of Palatina. Rather than muck about with formatting tables in a LibreOffice document, or try to make do with a spreadsheet (and no formatting), I decided I could make a very simple text file format and generate a feature matrix in HTML from that. I wrote this Feature Matrix Generator script in Ruby while hashing out the text format; proper prototyping. The results are quite pleasing (admittedly, that’s largely due to some fancy CSS, but having embedded Markdown makes the whole thing rather easy and useful to read through). The script requires the kramdown Ruby gem.