One way to write a grammar for any finite language L is for each w in L include S -> w in the grammar i.e. write out all the words.
For example, the language L = ['aa', 'ab', 'ba', 'bb'] is generated by the conte
#choose #value #concern #'bb'] #answer
https://stackoverflow.com/questions/1... https://stackoverflow.com/questions/1...