7. Utils
This section documents the command-line tools that ship with daslang —
every tool under the SDK’s utils/ has a page here, from the test
framework and lint runner to the AI-assistant servers and the dasLLAMA
inference stack — plus the runtime profiler and a cheat sheet for every
built-in leak-detection mechanism.
- 7.1. daslang-live — Live-Reload Application Host
- 7.2. dastest — Test Framework
- 7.3. dascov — Code Coverage
- 7.4. lint — Paranoid, Performance, and Style
- 7.5. das-fmt — Code Formatter
- 7.6. gen1-to-gen2 — v1 to gen2 Converter
- 7.7. fix-lint-errors — Lint Auto-Fixer
- 7.8. daspkg — Package Manager
- 7.8.1. Quick start
- 7.8.2. Why daspkg?
- 7.8.3. Commands
- 7.8.4. Package sources
- 7.8.5. The
.das_packagemanifest - 7.8.6. Install flow
- 7.8.7. Global modules
- 7.8.8. Project layout
- 7.8.9. Lock file
- 7.8.10. Package index
- 7.8.11. Use-case examples
- 7.8.12. Version model
- 7.8.13. Requirements
- 7.8.14. Architecture
- 7.9. benchctl — Benchmark Result Database
- 7.10. aot — AOT Generation Driver
- 7.11. MCP Server — AI Tool Integration
- 7.12. LSP Server — Editor & AI Diagnostics
- 7.13. detect-dupe — Cross-file similar-function detector
- 7.14. find_dupe — AI judge for detect-dupe clusters
- 7.15. jobque-timeline — Jobque Trace Viewer
- 7.16. Profiler — Runtime Profiling
- 7.17. dasllama-server — an OpenAI-compatible server over dasLLAMA
- 7.18. dasllama-convert — Offline Model Prep
- 7.19. watchdog — Program Supervisor
- 7.20. vscode-daslang-test — VSCode Test Explorer
- 7.21. Memory Leak Detection — Diagnostics Cheat Sheet
- 7.21.1. At a glance
- 7.21.2. Picking the right tool
- 7.21.3. 1. daslang leak profiler (
--das-profiler-leaks) - 7.21.4. 2. C++ heap report (
-track-allocations -heap-report) - 7.21.5. 3. gc_node leak detection (automatic)
- 7.21.6. 4. Smart-pointer tracking (
--track-smart-ptr <hexId>) - 7.21.7. 5. JobStatus / Channel / LockBox tracker
- 7.21.8. 6. HandleRegistry (dasHV handle objects)
- 7.21.9. See also