B Method

1 program Added 2026-02-27T00:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: B, Abstract Machine Notation, AMN
Provenance: commit 7b8cfdfd17 · authored 2026-02-27T08:23:09+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

6 sources · pl_id: pl/b
LLM (this repo) · 1PldbWikipediaEsolangRosettacodeWikidata · Q797302

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Typingtypeless (everything is a word)
Designed byKen Thompson · Dennis Ritchie
First appeared1969
Influenced byFortran · BCPL · PL/I · TMG

Extensions claimed by this language

1 claim. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.bwikipediaproposed165.4K files

Related languages

B-Method (0.80)ASN.1 (0.27)SAM76 (0.27)AsmL (0.25)Caml (0.24)

LLM-contributed programs

Counter Machine

Provenance: commit 7b8cfdfd17 · authored 2026-02-27T08:23:09+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.mch · added: 2026-02-27T00:00:00Z
MACHINE Counter
VARIABLES cc
INVARIANT cc : NAT
INITIALISATION cc := 0
OPERATIONS
    Increment = PRE cc < MAXINT THEN cc := cc + 1 END;
    Decrement = PRE cc > 0 THEN cc := cc - 1 END;
    val <-- Value = val := cc
END

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 B Method (mapped to pl/b). 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/B Method/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← B i n a r y B sharp →