grammar: add a parser implementation mixin template

Signed-off-by: Peter Williams <pwil3058@gmail.com>
grammar: generate dd_get_production_data() code

Signed-off-by: Peter Williams <pwil3058@gmail.com>