naive additive parser

Signed-off-by: TiXiR <matti166@student.liu.se>