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. tools — running the SDK’s tools
- 7.2. daslang-live — Live-Reload Application Host
- 7.3. dastest — Test Framework
- 7.4. dascov — Code Coverage
- 7.5. lint — Paranoid, Performance, and Style
- 7.6. ast-verify — AST verifier gate
- 7.7. das-fmt — Code Formatter
- 7.8. gen1-to-gen2 — v1 to gen2 Converter
- 7.9. fix-lint-errors — Lint Auto-Fixer
- 7.10. daspkg — Package Manager
- 7.10.1. Quick start
- 7.10.2. Why daspkg?
- 7.10.3. Commands
- 7.10.4. Package sources
- 7.10.5. The
.das_packagemanifest - 7.10.6. Install flow
- 7.10.7. Global modules
- 7.10.8. Project layout
- 7.10.9. Lock file
- 7.10.10. Package index
- 7.10.11. Use-case examples
- 7.10.12. Version model
- 7.10.13. Requirements
- 7.10.14. Architecture
- 7.11. benchctl — Benchmark Result Database
- 7.12. aot — AOT Generation Driver
- 7.13. MCP Server — AI Tool Integration
- 7.14. DAP MCP Bridge — AI Debugging
- 7.15. LSP Server — Editor & AI Diagnostics
- 7.16. detect-dupe — Cross-file similar-function detector
- 7.17. find_dupe — AI judge for detect-dupe clusters
- 7.18. jobque-timeline — Jobque Trace Viewer
- 7.19. Profiler — Runtime Profiling
- 7.20. dasllama-server — an OpenAI-compatible server over dasLLAMA
- 7.21. dasllama-cli — dasLLAMA from the shell
- 7.22. dasllama-convert — Offline Model Prep
- 7.23. watchdog — Program Supervisor
- 7.24. vscode-daslang-test — VSCode Test Explorer
- 7.25. zed-daslang — Zed extension
- 7.26. Memory Leak Detection — Diagnostics Cheat Sheet
- 7.26.1. At a glance
- 7.26.2. Picking the right tool
- 7.26.3. 1. daslang leak profiler (
--das-profiler-leaks) - 7.26.4. 2. C++ heap report (
-track-allocations -heap-report) - 7.26.5. 3. gc_node leak detection (automatic)
- 7.26.6. 4. Smart-pointer tracking (
--track-smart-ptr <hexId>) - 7.26.7. 5. JobStatus / Channel / LockBox tracker
- 7.26.8. 6. HandleRegistry (dasHV handle objects)
- 7.26.9. See also
- 7.26.10. Frame-boundary collection and lightweight counters
- 7.26.11. Reserved capacity and worker ownership