-
Notifications
You must be signed in to change notification settings - Fork 0
Demo Repositories
Crodox provides two public demonstration repositories to help you learn the platform and validate your templates.
The demo repositories are hosted publicly on GitHub under the crodox-app organization and can be used for testing, learning, and proof-of-concept work.
Start here: Open the Crodox app at https://crodox-app.com/home to begin.
Repository: https://github.com/crodox-app/simpleDemo
The simpleDemo repository is a minimal testbed for Crodox syntax and parsing fundamentals.
- Test basic Crodox grammar syntax recognition
- Validate parsing behavior on simple pseudo-code files
- Experiment with detection mechanisms before scaling to complex languages
- Serve as a foundation for template development
- Simple text-based pseudo-code files (
.txt) - Example test files:
testFile.txt,refFile.txt,bridgeTest.txt - Minimal folder structure for navigation practice
-
Learning Crodox Syntax - Write a simple grammar and test it against
testFile.txt - Validating Templates - Before using your grammar on a real project, test it on simpleDemo
- Debugging - When a grammar behaves unexpectedly, test it on simpleDemo first
- Open the app at https://crodox-app.com/home
- Sign in and authorize GitHub access
- Create a new template (e.g.,
my_test_grammar) - Write a simple grammar:
<~ file.txt ~> <: define :> <<name>> <: function :> <<name>> <- variable -> - Create a workbench using simpleDemo as the source repository
- Review extracted components and patches
Repository: https://github.com/crodox-app/angularTemp
The angularTemp repository is a production-ready Angular template that demonstrates extracting and reintegrating sub-components of a real-world application.
- Showcase best-practice Crodox workflows on a complete application
- Provide a working template (
.crodox.json) for import and extension - Demonstrate modularization and component extraction at scale
- Serve as a reference for building your own framework-specific templates
- Complete Angular Material Dashboard application
- Pre-configured
.crodox.jsongrammar definition - Typical project structure:
src/app/, component files, module definitions - Real TypeScript/HTML/SCSS assets
-
Learning Template Structure - Import
angularTemp's.crodox.jsonand study how it extracts Angular components - Building Your Template - Use angularTemp as a base and customize it for your project
- Production Testing - Test your Crodox workflow on a real application before analyzing your own projects
- Open the app at https://crodox-app.com/home
- Create a new template and select Import Template from Repository
- Choose angularTemp as the source
- The
.crodox.jsonis loaded into your editor—study the grammar structure - Modify the template for your needs, or use it as-is to analyze other Angular projects
- Create a workbench to test extraction and patch generation
| Aspect | simpleDemo | angularTemp |
|---|---|---|
| Complexity | Minimal | Real-world |
| Language | Pseudo-code | TypeScript/Angular |
| Use Case | Learning & validation | Production template |
| Grammar | Write your own | Import & customize |
| Scale | Small files | Full application |
- Start with simpleDemo - Create a simple grammar and understand Crodox syntax
- Explore angularTemp - Import the existing template and see how it works
- Combine Both - Create a template based on angularTemp's patterns, test it on simpleDemo
- Apply to Your Code - Use your template on your own repositories
Both repositories are marked as Template Repositories in GitHub, which is required to use them with Crodox.
For more information on marking your own repositories as templates, see GitHub-Repository-Setup.
- Workflow-SimpleDemo - Step-by-step: testing grammar with simpleDemo
- Workflow-AngularTemplate - Step-by-step: building a template from angularTemp
- Workflow-End-to-End - Complete journey from sign-up to PR generation
Official App: https://crodox-app.com/home
- 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