5.8. Documentation Coverage
The maintained book lives in docs/, organized into Project, Language, Compiler
and Tools, Standard Packages, and Appendices. The previous site's sources remain
under doc/docs-v1/ as a migration snapshot. Design history remains under
doc/archive/; neither location overrides the current book.
5.8.1 Previous Site to Current Book
Guide and reference material for the same feature is combined into one language chapter. The later language chapters retain the material migrated before this completion pass. Exceptions have a dedicated chapter, while attributes, directives, and C interoperability are separate topics.
Previous page under doc/docs-v1/docs/ |
Current destination |
|---|---|
index.md |
DQ-lang Project Introduction |
motivation.md |
Features and Design Goals |
getting-started.md |
Getting Started |
reference/index.md |
DQ Programming Language |
language/basics.md |
Basic Syntax |
reference/lexical-structure.md |
Basic Syntax |
language/types.md |
Basic Types and Conversions |
reference/types-and-conversions.md |
Basic Types and Conversions |
reference/declarations-and-scope.md |
Variables, Constants, References, and Scope |
language/expressions.md |
Expressions and Operators |
reference/expressions-and-operators.md |
Expressions and Operators |
language/statements.md |
Statements and Control Flow |
reference/statements-and-control-flow.md |
Statements and Control Flow |
language/functions.md |
Functions |
reference/functions.md |
Functions |
reference/strings-and-characters.md |
Character and String Types |
rtl/strings.md |
String Functions |
rtl/textfmt.md |
Text Formatting |
reference/arrays-and-slices.md |
Arrays and Slices |
reference/enums.md |
Enumerations |
reference/structures-pointers-and-function-references.md |
Structures and Unions |
language/memory-and-pointers.md |
Pointers |
language/objects.md |
Objects and Properties |
reference/objects-and-properties.md |
Objects and Properties |
reference/autofree.md |
Memory Management and Autofree |
reference/anyvalue.md |
anyvalue |
rtl/anyvalue.md |
anyvalue |
language/modules.md |
Modules and Packages |
reference/modules-and-packages.md |
Modules and Packages |
language/attributes-and-directives.md |
Attributes |
reference/attributes-directives-and-interop.md |
Attributes |
language/interop.md |
C Interoperability |
language/asm-functions.md |
Assembly Functions |
reference/assembly-functions.md |
Assembly Functions |
compiler/using-dq-comp.md |
Compiler Usage and Options |
compiler/project-file.md |
Project Files (.dqproj) |
compiler/dqm-format.md |
Build Process and Module Artifacts |
compiler/linux-devenv.md |
Linux Development Environment |
compiler/windows-devenv.md |
Windows Development Environment |
compiler/vscode-setup.md |
VSCode Setup and Debugging |
compiler/windows-debugging.md |
VSCode Setup and Debugging |
rtl/overview.md |
Library Overview |
examples/index.md |
Example Programs |
compiler/getting-dq-comp.md |
Building the Compiler from Source |
contributing/index.md |
Contributor and Implementation Notes |
contributing/documentation-policy.md |
Contributor and Implementation Notes |
contributing/writing-current-dq.md |
Contributor and Implementation Notes |
contributing/module-and-interface-internals.md |
Module and Interface Internals |
contributing/exceptions-and-backtraces.md |
Exceptions and Backtraces |
compiler/cross-compiling.md |
Release and Cross-Build Notes |
contributing/release-and-cross-builds.md |
Release and Cross-Build Notes |
contributing/coverage-inventory.md |
Documentation Coverage |
The former combined structure/pointer/function-reference page is split among Structures and Unions, Pointers, and Functions. The old statement pages' exception rules are in Exceptions and Error Handling. The combined attributes page is split among Attributes, Compiler Directives, and C Interoperability.
The old compiler usage page is split among the tool overview, option reference, artifact chapter, and application targets. Compiler cross-build procedures belong to the maintainer appendix. Release installation is covered by the Linux and Windows environment chapters; source builds have their own appendix.
The old runtime overview is expanded into
Runtime and Program Execution,
Library Overview, and
sys. There is also a dedicated
print chapter.
5.8.2 Package Manuals
Package-local documentation remains the maintained API source. The book includes these files directly, so a correction is published in both forms.
| Source | Book chapter |
|---|---|
stdpkg/file/docs/index.md |
file |
stdpkg/json/docs/index.md |
json |
stdpkg/threads/docs/index.md |
threads |
stdpkg/time/docs/index.md |
time |
stdpkg/nanonet/docs/index.md |
nanonet |
stdpkg/shell/docs/index.md |
shell |
5.8.3 Archived Design Coverage
This inventory records the disposition of the former doc/ specifications.
The archived copies are historical and do not override the listed destinations.
| Archived source | Disposition and canonical current documentation |
|---|---|
| Original language specification and changelog | Historical baseline. Replaced by the complete Language Reference. |
| Character/integer conversion specification | Migrated to Types and Conversions and Strings and Characters. |
| Enum specification | Migrated to Enumerations. |
| Array specification | Migrated to Arrays and Slices, including the array methods. |
| String specification and String Handling v2 | Reconciled in Strings and Characters and String Methods. Conflicting earlier character models are historical. |
anyvalue specification |
Public behavior and runtime methods moved to anyvalue. Private layout remains compiler/runtime-owned. |
| Object allocation/lifetime specification | Migrated to Objects and Properties. |
| Property specification | Migrated to Objects and Properties. |
| Object type-information notes | User-visible tests/casts moved to Objects and Properties; implementation detail belongs to compiler code. |
| Exception/backtrace specification | Semantics moved to Exceptions and Error Handling; implementation summarized in Exceptions and Backtraces. |
| Module system specification | Source behavior migrated to Modules and Packages. |
| Package specification | Search and identity behavior migrated to Modules and Packages and Using the Compiler. |
| Module implementation notes | Current design summarized in Module and Interface Internals; obsolete embedded-interface designs remain historical. |
| DQM interface-format specification | Current user contract is DQ Module Artifacts; implementation is summarized in Module and Interface Internals. |
| Build specification | Current user behavior is Using the Compiler; superseded .dqm layouts are historical. |
| Cross-compiling notes | Maintained user workflow is Cross-Compiling and Packaging; maintainer notes are Release and Cross-Build Notes. |
Method-local use notes |
Migrated to Declarations and Scope and Modules and Packages. |
| DQ writing hints for AI agents | Replaced by Writing Current DQ, which links to normative pages rather than duplicating specifications. |
5.8.4 Original Specification Sections
| Original area | Canonical destination |
|---|---|
| Overview and design principles | Home, Motivation |
| Lexical structure and literals | Lexical Structure |
| Types, variables, and constants | Types and Conversions, Declarations and Scope |
| Expressions and operators | Expressions and Operators |
| Statements and control flow | Statements and Control Flow |
| Functions | Functions |
| Objects and properties | Objects and Properties |
| Pointers and memory | Structures, Pointers, and Function References, Objects and Properties |
| Modules and namespaces | Modules and Packages |
| Compiler directives and C access | Attributes, Directives, and Interoperability |
| Standard library | Runtime Library and Standard Packages sections of the site |
| Rejected features and open questions | Historical only unless reintroduced as a separate design proposal |