Accessible variable of a regular grammar (source code)

= Accessible variable of a regular grammar

A variable $A$ is accessible when $S\Rightarrow^*wA$ for some terminal word $w$.