Expand description
Dependency Scanner for the Hyperlink Module System.
Scans the “Abstract” (first paragraph) of a LOGOS document for Markdown links, which are interpreted as module dependencies.
Syntax: [Alias](URI) where:
- Alias: The name to reference the module by (e.g., “Geometry”)
- URI: The location of the module source (e.g., “file:./geo.md”, “logos:std”)
Structs§
- Dependency
- A dependency declaration found in the document’s abstract.
- Selected
Name - One name selected by a per-name import (
Import double as dbl from Util.).
Functions§
- first_
section_ header - A file’s first
##section header outside a ``` fence, as its 1-based line and its text: the line above which anImportmust stand to import anything. - misplaced_
imports - Every
Importsentence below a file’s first##header, each with its byte span. That is wherescan_dependenciesdoes not read, so such a sentence imports nothing: the module is never spliced and the program runs on without it. A caller refuses each at its own line. A line inside a - scan_
dependencies - Scans the first paragraph (Abstract) of a LOGOS file for
[Alias](URI)links.