# roesplus/fl architecture

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

- Interactive diagram: https://gitdiagram.com/roesplus/fl
- Repository: https://github.com/roesplus/fl

## Overview

This repository is a collection of programming-course lesson and placement data, plus a CodeMirror clike syntax-highlighting mode. The only identified runtime component is the mode in `cpp/clike.js`; it registers language modes and performs tokenization and indentation for C-like and other languages. The lesson JSON files appear to be course content, but with no README or sampled contents their behavior and relationships cannot be established. The graph therefore focuses on the supported runtime evidence and does not infer how course data is consumed.

Main entry points: [`cpp/clike.js`](https://github.com/roesplus/fl/blob/main/cpp/clike.js) (C-like mode)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_editor["CodeMirror mode"]
  node_clike["C-like mode<br/>[clike.js]"]
end

node_editor(("CodeMirror"))

node_editor -->|"loads mode"| node_clike

click node_clike "https://github.com/roesplus/fl/blob/main/cpp/clike.js"

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_clike toneBlue
class node_editor toneIndigo
```

## Components

### CodeMirror mode

- [C-like mode](https://github.com/roesplus/fl/blob/main/cpp/clike.js): `cpp/clike.js`

### Other components

- **CodeMirror**

## Connections

- CodeMirror → C-like mode: loads mode (evidence: `cpp/clike.js`)
