| Crates.io | Tect |
| lib.rs | Tect |
| version | 0.0.8 |
| created_at | 2025-12-21 11:55:47.300787+00 |
| updated_at | 2026-01-13 01:21:20.512994+00 |
| description | Minimal (only 6 keywords), type-safe language for software architecture with rich tooling |
| homepage | https://github.com/tesserato/Tect |
| repository | https://github.com/tesserato/Tect |
| max_upload_size | |
| id | 1997855 |
| size | 188,327 |
Tect is a minimal (only 6 keywords), type-safe language for software architecture with rich tooling. Define variables, constants, errors and functions declaratively, catch cycles and starvation early through simulation, and generate interactive diagrams directly from your source.

constant, variable, error, group, function, import).[!WARNING] Early-stage project. Tect is very new and still evolving, so you may encounter rough edges, breaking changes, or incomplete features. Feedback and contributions are highly welcome — feel free to open issues, submit pull requests, or share ideas to help shape the project.
For the best experience, install the Tect extension for VS Code. It provides:
Syntax highlighting and snippets.
Live architecture preview.
Go-to-definition (supports files and symbols).
Real-time error reporting.
cargo install Tect
system.tect)# Define artifacts
constant Config
variable UserData
error DbError
# Define groups
group Database
group API
# Define contracts
Database function LoadUser Config
> UserData
| DbError
API function Serve UserData
> Response
# Verify logic (check for cycles, starvation, unused symbols)
tect check system.tect
# Format code
tect fmt system.tect
# Generate interactive HTML graph
tect build system.tect -o architecture.html
# Generate LaTeX/TikZ for PDF
tect build system.tect -o architecture.tex
Some examples are available in the Examples folder.