Parser for bst file