grammar: fix goto table creation

Signed-off-by: Peter Williams <pwil3058@gmail.com>
templates: get the correct items off the attribute stack durin pop

Signed-off-by: Peter Williams <pwil3058@gmail.com>
grammar: iterarte grammar items in order during construction.
It makes the generated code and parser states easier to understand.

Signed-off-by: Peter Williams <pwil3058@gmail.com>
grammar: rename method name to something less ambiguous

Signed-off-by: Peter Williams <pwil3058@gmail.com>
grammar: use only kernel items for equivalence checking

Signed-off-by: Peter Williams <pwil3058@gmail.com>
grammar: change kernelX's name to remove implication it is only a kernel

Signed-off-by: Peter Williams <pwil3058@gmail.com>
bespoke: remove allowable_ident - it causes need for look ahead 2 in some places
where it is used.

Signed-off-by: Peter Williams <pwil3058@gmail.com>
bespoke: update semantic actions

Signed-off-by: Peter Williams <pwil3058@gmail.com>
formatting: change code format standard (to one geany likes better)

Signed-off-by: Peter Williams <pwil3058@gmail.com>
ddpg_bespoke: add some useful output to check validity

Signed-off-by: Peter Williams <pwil3058@gmail.com>
bespoke: fix bug in adding productions to the production list.
Should now be able to start bootstrapping from a proper definition.

Signed-off-by: Peter Williams <pwil3058@gmail.com>
grammar: add predicate to toString() for productions and grammar items

Signed-off-by: Peter Williams <pwil3058@gmail.com>
ddpg_bespoke: put the extra output behind a --verbose flag

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