Adding the third possible way of computing grammars.

git-svn-id: http://gapt.googlecode.com/svn/trunk/source@1595 85d21ef8-add0-11de-ae77-5bfb9c5a3f34
Reverting the changes in cli.sh

git-svn-id: http://gapt.googlecode.com/svn/trunk/source@1596 85d21ef8-add0-11de-ae77-5bfb9c5a3f34