implement recipe lookup during parse, implementing the -r option and recipe deduplication as side-effects