language definition and snippets