Skip to content

Hello world with dependencies diagrams ​

Hello world with dependencies

Start with how the application begins, then follow data between its folders. Open an operation to see its decisions, calls, failures and cleanup. Its explanation supplies the exact contract and linked dependencies.

This view includes 6 application source files. Package and interface boundaries show checked contracts; their runtime implementations are not expanded. The views describe the checked program, not desired requirements or a recorded execution.

Where execution begins ​

Providers ​

Console is provided by SystemConsole. The same instance is shared. Logger is provided by ConsoleLogger. The same instance is shared.

app is provided by Greeter. The same instance is shared. It requires bindings for Logger.

Startup ​

It sets greeter to the instance provided for app. It passes "AugScript" to greeter.greet, using injected Console. source

Data flow ​

100%
Mermaid source
flowchart TD
    n0["app"]
    n1["logging"]
    n2["Startup"]
    n0 -->|"Logger.log(message)"| n1
    n2 -->|"Greeter.greet(name)"| n0

Package boundaries ​

logging package calls
100%
Mermaid source
flowchart LR
    n0["August libraries"]
    n1["logging"]
    n1 -->|"Console.write(value)"| n0

Follow the data ​

Each row opens the complete operations and call sites behind one pair of logical units. A grouped arrow records calls between those units; connected arrows need not belong to the same execution path.

FromToOperationsRead
applogging1Inputs, results and call sites
loggingAugust libraries1Inputs, results and call sites
Startupapp1Inputs, results and call sites

Data crossing these boundaries (3 contracts) ​

app → logging ​

1 operation, 1 site

Logger.log · interface dispatch

Inputs: message: string. Result: void.

Caller or entryEvidence
Greeter.greetCall site · Caller explanation

logging → August libraries ​

1 operation, 1 site

Console.write · interface dispatch

Inputs: value: string. Result: void.

Caller or entryEvidence
ConsoleLogger.logCall site · Caller explanation

Startup → app ​

1 operation, 1 site

Greeter.greet

Inputs: name: string. Result: void.

Caller or entryEvidence
StartupCall site · Caller explanation

Open a folder ​

FolderRead
loggingFolder data flow

Open a module ​

ModuleRead
app/export.augFlow and sequences · Explanation
app/greeter.augFlow and sequences · Explanation
logging/console.augFlow and sequences · Explanation
logging/export.augFlow and sequences · Explanation
logging/logger.augFlow and sequences · Explanation
main.augFlow and sequences · Explanation

These are static call boundaries, not a request trace. Interface implementations and foreign internals stop at their checked contracts. Dotted arrows defer a callback or browser action. Imports alone do not imply a call.

Last updated:

The world runs on language