Skip to content

App Template

Benedict Albrecht edited this page Jun 2, 2026 · 3 revisions

Template

The Template tab is where you write and manage your Crodox grammar definition.


Overview

Element Description
Project Name of the current project
Repository Linked GitHub repository
Editor Text area for the grammar definition
export Export the current template as a .crodox file
import Import a .crodox file into the editor
save Save and validate the template

Writing a Template

You have three options to get a grammar definition into the editor:

Method Description
Paste from wiki Copy an example from the wiki (Angular, Python, T-SQL)
Import Click import to load a .crodox file from disk
Write from scratch Write your grammar using the Syntax Overview

Tip: Use the Template Generator to generate a starter template for your language.


Saving and Validation

When you click save, the parser validates your grammar:

  • Valid - The template is saved. You can now use it in a Bubble to parse repositories.
  • Error - The parser rejects the template. Check the Troubleshooting section for common fixes.

Export / Import

  • export - Downloads the current template as a .crodox file for sharing or backup
  • import - Loads a .crodox file into the editor, replacing the current content

See also: Bubbles - Parse repositories with your template · Syntax Overview - Grammar element reference

Clone this wiki locally