-
Notifications
You must be signed in to change notification settings - Fork 0
App Template
Benedict Albrecht edited this page Jun 3, 2026
·
3 revisions
The Template tab is where you write and manage your Crodox grammar definition.
| 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 |
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.
When you click save, the parser validates your grammar:
- Valid - The template is saved. You can now use it in a Workbench to parse repositories.
- Error - The parser rejects the template. Check the Troubleshooting section for common fixes.
-
export - Downloads the current template as a
.crodoxfile for sharing or backup -
import - Loads a
.crodoxfile into the editor, replacing the current content
See also: Workbench - Parse repositories with your template · Syntax Overview - Grammar element reference
- Getting Started
- Sign-Up
- Home Screen
- Creating Your First Template
- Template Editor
- Application Navigation
- Syntax Overview
- Workflow: End-to-End
- Workflow: Test with simpleDemo
- Workflow: Build Template from angularTemp
- Demo Repositories
- Template
- Workbench
- GitHub Integration
- GitHub App Installation
- GitHub Repository Setup
- GitHub Re-linking
- Settings
- Overview
- Declarations
- Types
- Scoping