7. Utils
This section documents the command-line tools that ship with daslang: the live-reload application host, the test framework, the code coverage tool, the lint checker, the package manager, the MCP server for AI coding assistants, the LSP server for editors and AI diagnostics, the cross-file duplicate-function detector and its AI judge, the runtime profiler and memory-leak tracker, the OpenAI-compatible dasLLAMA inference server, 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. daspkg — Package Manager
- 7.5.1. Quick start
- 7.5.2. Why daspkg?
- 7.5.3. Commands
- 7.5.4. Package sources
- 7.5.5. The
.das_packagemanifest - 7.5.6. Install flow
- 7.5.7. Global modules
- 7.5.8. Project layout
- 7.5.9. Lock file
- 7.5.10. Package index
- 7.5.11. Use-case examples
- 7.5.12. Version model
- 7.5.13. Requirements
- 7.5.14. Architecture
- 7.6. MCP Server — AI Tool Integration
- 7.7. LSP Server — Editor & AI Diagnostics
- 7.8. detect-dupe — Cross-file similar-function detector
- 7.9. find_dupe — AI judge for detect-dupe clusters
- 7.10. Profiler — Runtime Profiling
- 7.11. dasllama-server — an OpenAI-compatible server over dasLLAMA
- 7.12. Memory Leak Detection — Diagnostics Cheat Sheet
- 7.12.1. At a glance
- 7.12.2. Picking the right tool
- 7.12.3. 1. daslang leak profiler (
--das-profiler-leaks) - 7.12.4. 2. C++ heap report (
-track-allocations -heap-report) - 7.12.5. 3. gc_node leak detection (automatic)
- 7.12.6. 4. Smart-pointer tracking (
--track-smart-ptr <hexId>) - 7.12.7. 5. JobStatus / Channel / LockBox tracker
- 7.12.8. 6. HandleRegistry (dasHV handle objects)
- 7.12.9. See also