implements grammar provider

Signed-off-by: Joungchoul Kim <joungchoul.kim@windriver.com>