Getting Started
Install
Section titled “Install”go install github.com/ccl-lang/ccl@latestWrite a source file
Section titled “Write a source file”#[CCLVersion("1.0.0")]#[SerializationType("binary")]
[SerializationType("binary")]model UserInfo { Id: int64; Username: string; Email: string;}Generate code
Section titled “Generate code”ccl generate --source definitions.ccl --output path/to/output --language GoWorkflow in one sentence
Section titled “Workflow in one sentence”Write model definitions in .ccl, choose the target language, and let the compiler generate the language-specific code.
What to read next
Section titled “What to read next”- Go to Language Overview to understand the syntax and design goals.
- Go to Imports when splitting models across source files.
- Go to Serialization to see generated method names.
- Go to CLI Reference when you need the command shape quickly.