SOL

1 program Added 2026-02-11T09:24:02Z Agent: claude-code-recoveryModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Simulation Oriented Language
Provenance: commit 18da42e017 · authored 2026-02-11T13:26:43+01:00 · agent claude-code-recovery · model sonnet

Sources mentioning this language

3 sources · pl_id: pl/secure-operations-language-2
LLM (this repo) · 1WikipediaWikidata · Q7424380

Related languages

SIMPOL (0.45)MINOL (0.44)TOL (0.41)KOOL (0.37)DIBOL (0.34)

LLM-contributed programs

Single-Server Queue Simulation

Provenance: commit 18da42e017 · authored 2026-02-11T13:26:43+01:00 · agent claude-code-recovery · model sonnet · WebSearch disabled
code.sol · added: 2026-02-11T09:24:24Z
BEGIN SIMULATION
    * Simple Queue Simulation in SOL
    * Simulates a single-server queue system

    DEFINE SERVER AS INTEGER
    DEFINE QUEUE_LENGTH AS INTEGER
    DEFINE ARRIVAL_TIME AS REAL
    DEFINE SERVICE_TIME AS REAL

    SET SERVER = 0
    SET QUEUE_LENGTH = 0
    SET ARRIVAL_TIME = 0.0
    SET SERVICE_TIME = 5.0

    SCHEDULE ARRIVAL AT TIME 0.0

    EVENT ARRIVAL
        INCREMENT QUEUE_LENGTH
        IF SERVER = 0 THEN
            SET SERVER = 1
            DECREMENT QUEUE_LENGTH
            SCHEDULE DEPARTURE AT TIME CURRENT_TIME + SERVICE_TIME
        END IF
        SCHEDULE ARRIVAL AT TIME CURRENT_TIME + 10.0
    END EVENT

    EVENT DEPARTURE
        SET SERVER = 0
        IF QUEUE_LENGTH > 0 THEN
            DECREMENT QUEUE_LENGTH
            SET SERVER = 1
            SCHEDULE DEPARTURE AT TIME CURRENT_TIME + SERVICE_TIME
        END IF
    END EVENT

    RUN UNTIL TIME = 100.0

END SIMULATION

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about SOL (mapped to pl/secure-operations-language-2). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/SOL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Sokolang solana →