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. ast-verify — AST verifier gate
- 7.6. das-fmt — Code Formatter
- 7.7. gen1-to-gen2 — v1 to gen2 Converter
- 7.8. fix-lint-errors — Lint Auto-Fixer
- 7.9. daspkg — Package Manager
- 7.9.1. Quick start
- 7.9.2. Why daspkg?
- 7.9.3. Commands
- 7.9.4. Package sources
- 7.9.5. The
.das_packagemanifest - 7.9.6. Install flow
- 7.9.7. Global modules
- 7.9.8. Project layout
- 7.9.9. Lock file
- 7.9.10. Package index
- 7.9.11. Use-case examples
- 7.9.12. Version model
- 7.9.13. Requirements
- 7.9.14. Architecture
- 7.10. benchctl — Benchmark Result Database
- 7.11. aot — AOT Generation Driver
- 7.12. MCP Server — AI Tool Integration
- 7.13. DAP MCP Bridge — AI Debugging
- 7.14. LSP Server — Editor & AI Diagnostics
- 7.15. detect-dupe — Cross-file similar-function detector
- 7.16. find_dupe — AI judge for detect-dupe clusters
- 7.17. jobque-timeline — Jobque Trace Viewer
- 7.18. Profiler — Runtime Profiling
- 7.19. dasllama-server — an OpenAI-compatible server over dasLLAMA
- 7.20. dasllama-convert — Offline Model Prep
- 7.21. watchdog — Program Supervisor
- 7.22. vscode-daslang-test — VSCode Test Explorer
- 7.23. Memory Leak Detection — Diagnostics Cheat Sheet
- 7.23.1. At a glance
- 7.23.2. Picking the right tool
- 7.23.3. 1. daslang leak profiler (
--das-profiler-leaks) - 7.23.4. 2. C++ heap report (
-track-allocations -heap-report) - 7.23.5. 3. gc_node leak detection (automatic)
- 7.23.6. 4. Smart-pointer tracking (
--track-smart-ptr <hexId>) - 7.23.7. 5. JobStatus / Channel / LockBox tracker
- 7.23.8. 6. HandleRegistry (dasHV handle objects)
- 7.23.9. See also