I was wondering how people define grammars. i.e. say I have a small
set of strings which constitute a language. What would be the usual
way to go about defining the grammar for that language? Is there a
tool that automates this process i.e. converting input strings to a
grammar specification.?