draft of recursive decent parser for wikipedia markup