TIL Language Extension v2.0
The Intelligent Language — Mixed Martial Programming
Simpler than Python. Faster than C. Smarter than all.
Features
Core
- Rich Syntax Highlighting — Full TextMate grammar covering all TIL 2.0 features
- Run / Build / Check — F5 to run, F6 to build, F7 to check
- Smart Diagnostics — Inline error highlighting with source locations
- 80+ Snippets — Every language construct, from basics to effects
Multi-Level Awareness
- Status Bar Level Indicator — Shows current file's abstraction level (0-4)
- Level Quick Switcher — Click status bar to change level
- Level-Specific Snippets —
level0, level1, level2, level3, level4
- AST Viewer — Ctrl+Shift+A to see the Abstract Syntax Tree
- C Code Viewer — Ctrl+Shift+C to see generated C code
- Project Scaffolding —
TIL: New Project creates full project structure
- Outline / Symbol Navigation — Functions, structs, enums, effects, capabilities
TIL 2.0 Next-Gen Syntax Support
- Effect System —
effect, handler, with...as, #[pure], #[effects:]
- Capabilities —
capability, cap, grant, revoke
- Contracts —
#[requires:], #[ensures:], #[invariant:]
- Temporal Types —
@expires(30m), @stale_after(5s), duration literals
- Intent-Based —
#[intent: sort], #[intent: cache]
- Distributed Types —
@location(), @pii, @secret, @encrypted
- Adaptive Errors —
error, strategy retry, strategy fallback
- Energy-Aware —
#[optimize: energy|latency|throughput]
- Cross-Level Contracts —
#[contract: no_allocation, no_panic, O(1)]
Theme
- TIL Dark — Custom color theme optimized for TIL syntax
Keyboard Shortcuts
| Shortcut |
Command |
F5 |
Run file |
F6 |
Build file |
F7 |
Check syntax |
Ctrl+F5 |
Run in terminal |
Ctrl+Shift+B |
Build release (-O3) |
Ctrl+Shift+A |
Show AST |
Ctrl+Shift+C |
Show generated C |
Settings
| Setting |
Default |
Description |
til.compilerPath |
til |
Path to TIL compiler |
til.pythonPath |
python3 |
Python interpreter path |
til.optimization |
-O2 |
Optimization level |
til.defaultLevel |
2 |
Default abstraction level |
til.lsp.enabled |
true |
Enable language server |
til.cCompiler |
gcc |
C backend compiler |
Levels
| Level |
Name |
Description |
| ⚡ 0 |
Hardware |
Raw pointers, inline assembly, zero overhead |
| 🔧 1 |
Systems |
Manual memory, no GC |
| 🛡️ 2 |
Safe |
Bounds checking, ownership |
| 📝 3 |
Script |
Dynamic typing, GC |
| 🔬 4 |
Formal |
Contracts, proofs, verification |
Links
License
BSL-1.1 (Business Source License)
Created by Alisher Beisembekov
| |