Add grammar, revise Rakefile.