🧬 DTL - Domain Transport Language
The Complete DTL Experience for VS Code

Product of Dubai 🇦🇪 | Made for the World 🌍
✨ What's New in v2.0
- 🌐 URL Validation (U) - Validates https://example.com format
- 📧 Email Validation (E) - Validates user@example.com format
- 📞 Phone Validation (P) - Validates +971501234567 format
- 📊 Enum Support -
e(M,F), e(active,inactive,pending)
- 🛠️ Problems Panel - Real-time validation errors (Ctrl+Shift+M)
- 💡 Magic Corrections - Auto-fix suggestions for common errors
- 📈 Status Bar - Live document stats
- 🎨 Full Syntax Highlighting - Beautiful colors for all DTL elements
🎯 Features
Syntax Highlighting
Full color support for:
- Comments, headers, table names
- Field names and types (s, i, f, b, D, T, u, U, E, P)
- Enums
e() and arrays a()
- Data values (URLs, emails, phones, dates, UUIDs)
- Security modes (S0, S1, S2)
Real-time Validation
Errors appear in the Problems Panel (Ctrl+Shift+M):
- ❌ Invalid enum values with fuzzy suggestions
- ❌ Invalid URL/Email/Phone formats
- ❌ Invalid dates, integers, booleans
- ⚠️ Row count mismatches
- ⚠️ Table name casing
Magic Corrections 💡
Click the lightbulb to auto-fix:
- Wrong enum values → closest match
- Wrong date formats → YYYY-MM-DD
- Boolean "true/false" → 1/0
- Table names → UPPERCASE
- URL missing protocol → add https://
IntelliSense
- Type completions after
:
- Enum value suggestions in data rows
- Table templates (USERS, CONTACTS, PATIENTS, etc.)
- Smart completions for dates, timestamps, UUIDs
Commands (Right-click → 🧬 DTL)
| Command |
Shortcut |
Description |
| ➕ Add Row |
Cmd+Shift+R |
Add new row |
| 📋 Duplicate Row |
Cmd+Shift+D |
Duplicate current row |
| 📋 Add Table |
Cmd+Shift+T |
Create new table |
| 🕐 Insert Timestamp |
Cmd+Shift+I |
Insert ISO timestamp |
| ✅ Validate |
Cmd+Shift+V |
Validate document |
Code Lens
Above each table header:
- 📊 Row count
- ➕ Add row
- 🎲 Generate sample data
- 📋 Convert to JSON
- 📊 Enum count
- ✅ Validated field count
📝 DTL Type Reference
| Type |
Name |
Example |
Validated |
s |
String |
Any text |
❌ |
i |
Integer |
42 |
✅ |
f |
Float |
3.14 |
✅ |
b |
Boolean |
1 or 0 |
✅ |
D |
Date |
2025-01-04 |
✅ |
T |
Timestamp |
2025-01-04T12:00:00Z |
✅ |
u |
UUID |
550e8400-e29b-41d4-... |
✅ |
U |
URL |
https://example.com |
✅ |
E |
Email |
user@example.com |
✅ |
P |
Phone |
+971501234567 |
✅ |
e() |
Enum |
e(M,F,O) |
✅ |
a() |
Array |
a(s), a(i) |
❌ |
j |
JSON |
{...} |
❌ |
🏥 Domain Codes
| Code |
Domain |
Icon |
| dtHC |
Healthcare |
🏥 |
| dtFN |
Finance |
💰 |
| dtLG |
Legal |
⚖️ |
| dtGN |
General |
🌐 |
| dtWEB |
Web |
🌐 |
| dtIOT |
IoT |
📡 |
| dtEDU |
Education |
📚 |
| dtAZ |
AlifZetta |
🧬 |
🔐 Security Modes
| Mode |
Description |
Icon |
| S0 |
No security |
🔓 |
| S1 |
Row hashing (BLAKE3) |
🔏 |
| S2 |
Row encryption (AES-256) |
🔐 |
📦 Installation
- Open VS Code
- Go to Extensions (Cmd+Shift+X)
- Search for "DTL"
- Click Install
Or install from VSIX:
- Download
dtl-language-2.0.0.vsix
- Cmd+Shift+P → "Install from VSIX"
- Select the file
🚀 Quick Start
# Sample DTL Document
@dtlv1.0^dtGN^pDefault^c0^s0^w0^checksum
@sec^blake3^0x0^none^0
# CONTACTS
CONTACTS|id:s,name:s,email:E,phone:P,website:U,status:e(active,inactive)|2|S0|W0|C0
C001|Alice|alice@example.com|+971-50-1234567|https://alice.com|active
C002|Bob|bob@test.org|+971-55-9876543|https://bob.io|inactive
📄 License
MIT License - © 2025 Padam Sundar Kafle / dtlaz.org
Made with ❤️ in Dubai 🇦🇪
| |