A very simple and stupid parser, based on a statemachine and regular expressions.