You can write the code of a parser directly from its grammar. You apply each principle of grammar translation in turn until the grammar becomes a set of Java statements that define a parser. The following principles apply:
Treat each quoted word, such as "pick", as a CaselessLiteral. For example, translate
pickCommand = "pick" "carrier" "from" location;
pickCommand = new CaselessLiteral("pick") ...