# vzolotar/lingva architecture

> Architecture diagram of the GitHub repository vzolotar/lingva, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vzolotar/lingva
- Repository: https://github.com/vzolotar/lingva

## Overview

Lingva is a DOS-era linguistic atlas tool for reviewing Iberian map data, comparing and combining maps, and examining distributions and statistics. The documented workflow is menu-driven: a user selects a map operation, works with maps indexed across 6,117 geographic fields, and can save a combined map for later review. The README documents capabilities, but the supplied C excerpts contain no implementation details; links to those features therefore cite the README, and the role of individual data files is not inferred.

Main entry points: [`project_files/MAP.EXE`](https://github.com/vzolotar/lingva/blob/master/project_files/MAP.EXE) (Lingva program), [`project_files`](https://github.com/vzolotar/lingva/tree/master/project_files) (Atlas map database), [`project_files/LINGVA.DAT`](https://github.com/vzolotar/lingva/blob/master/project_files/LINGVA.DAT) (Map data files), [`project_files/SLOV.DAT`](https://github.com/vzolotar/lingva/blob/master/project_files/SLOV.DAT) (Lexical data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Application"]
  node_lingva["Lingva program<br/>[MAP.EXE]"]
end

subgraph group_analysis["Map Analysis"]
  node_map_info["Map IDs and descriptions"]
  node_linear["Linear distribution"]
  node_secondary["Secondary variable"]
  node_combine["Map combination"]
  node_contingency["Contingency table"]
  node_full_review["Full map review"]
  node_characteristics["Characteristic review"]
  node_map_list["Map listing"]
  node_administration["Database administration"]
end

subgraph group_storage["Atlas Data"]
  node_atlas_data[("Atlas map database")]
  node_map_files["Map data files<br/>[LINGVA.DAT]"]
  node_lexicon["Lexical data<br/>[SLOV.DAT]"]
end

node_user(("User"))

node_user -->|"uses"| node_lingva
node_lingva -->|"offers"| node_map_info
node_lingva -->|"offers"| node_linear
node_lingva -->|"offers"| node_secondary
node_lingva -->|"offers"| node_combine
node_lingva -->|"offers"| node_contingency
node_lingva -->|"offers"| node_full_review
node_lingva -->|"offers"| node_characteristics
node_lingva -->|"offers"| node_map_list
node_lingva -->|"offers"| node_administration
node_lingva -->|"uses"| node_atlas_data
node_atlas_data -.->|"includes"| node_map_files
node_atlas_data -.->|"includes"| node_lexicon

click node_lingva "https://github.com/vzolotar/lingva/blob/master/project_files/MAP.EXE"
click node_map_info "https://github.com/vzolotar/lingva/tree/master/project_files"
click node_linear "https://github.com/vzolotar/lingva/tree/master/project_files"
click node_secondary "https://github.com/vzolotar/lingva/tree/master/project_files"
click node_combine "https://github.com/vzolotar/lingva/tree/master/project_files"
click node_contingency "https://github.com/vzolotar/lingva/tree/master/project_files"
click node_full_review "https://github.com/vzolotar/lingva/tree/master/project_files"
click node_characteristics "https://github.com/vzolotar/lingva/tree/master/project_files"
click node_map_list "https://github.com/vzolotar/lingva/tree/master/project_files"
click node_administration "https://github.com/vzolotar/lingva/tree/master/project_files"
click node_atlas_data "https://github.com/vzolotar/lingva/tree/master/project_files"
click node_map_files "https://github.com/vzolotar/lingva/blob/master/project_files/LINGVA.DAT"
click node_lexicon "https://github.com/vzolotar/lingva/blob/master/project_files/SLOV.DAT"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_lingva,node_user toneBlue
class node_map_info,node_linear,node_secondary,node_combine,node_contingency,node_full_review,node_characteristics,node_map_list,node_administration toneAmber
class node_atlas_data,node_map_files,node_lexicon toneMint
```

## Components

### Application

- [Lingva program](https://github.com/vzolotar/lingva/blob/master/project_files/MAP.EXE): `project_files/MAP.EXE`

### Map Analysis

- [Map IDs and descriptions](https://github.com/vzolotar/lingva/tree/master/project_files): `project_files`
- [Linear distribution](https://github.com/vzolotar/lingva/tree/master/project_files): `project_files`
- [Secondary variable](https://github.com/vzolotar/lingva/tree/master/project_files): `project_files`
- [Map combination](https://github.com/vzolotar/lingva/tree/master/project_files): `project_files`
- [Contingency table](https://github.com/vzolotar/lingva/tree/master/project_files): `project_files`
- [Full map review](https://github.com/vzolotar/lingva/tree/master/project_files): `project_files`
- [Characteristic review](https://github.com/vzolotar/lingva/tree/master/project_files): `project_files`
- [Map listing](https://github.com/vzolotar/lingva/tree/master/project_files): `project_files`
- [Database administration](https://github.com/vzolotar/lingva/tree/master/project_files): `project_files`

### Atlas Data

- [Atlas map database](https://github.com/vzolotar/lingva/tree/master/project_files): `project_files`
- [Map data files](https://github.com/vzolotar/lingva/blob/master/project_files/LINGVA.DAT): `project_files/LINGVA.DAT`
- [Lexical data](https://github.com/vzolotar/lingva/blob/master/project_files/SLOV.DAT): `project_files/SLOV.DAT`

### Other components

- **User**

## Connections

- User → Lingva program: uses (evidence: `README.md`)
- Lingva program → Map IDs and descriptions: offers (evidence: `README.md`)
- Lingva program → Linear distribution: offers (evidence: `README.md`)
- Lingva program → Secondary variable: offers (evidence: `README.md`)
- Lingva program → Map combination: offers (evidence: `README.md`)
- Lingva program → Contingency table: offers (evidence: `README.md`)
- Lingva program → Full map review: offers (evidence: `README.md`)
- Lingva program → Characteristic review: offers (evidence: `README.md`)
- Lingva program → Map listing: offers (evidence: `README.md`)
- Lingva program → Database administration: offers (evidence: `README.md`)
- Lingva program → Atlas map database: uses (evidence: `README.md`)
- Atlas map database → Map data files: includes
- Atlas map database → Lexical data: includes
