L0002 is a template for creating new Graffiticode languages. Clone this repository when starting a new language.
L0002 includes example implementations to demonstrate how to build language features:
| Function | Purpose |
|---|---|
hello <string> |
Example text output |
theme [dark|light] <expr> |
Example interactive UI with toggle |
image <url> |
Example image rendering |
When creating a new Graffiticode language:
- Clone this repository
- Update the port number and language ID
- Replace the example functions with your language's vocabulary
- Customize the form view for your output rendering needs
The theme feature demonstrates how to build interactive UI components - use it as a reference when adding interactivity to your language.
- packages/api - Node.js/Express backend compiler
- packages/app - React/TypeScript frontend
Standard Graffiticode compiler pipeline: Checker (validates AST) → Transformer (produces output).
- L0011 - Production language for form generation (console property editor)
- L0012 - Production language for data capture (idempotent value-to-ID mapping)
# Install dependencies
npm install
# Start the API server
npm startCode is licensed under MIT. Documentation and specifications are licensed under CC-BY 4.0.
AI Training: All materials in this repository — code, documentation, specifications, and training examples — are explicitly available for use in training machine learning and AI models. See NOTICE for details.