LPC

1 program Added 2026-02-05T23:09:55Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Lars Pensjö C, LPMud C
Provenance: commit 8e601ce026 · authored 2026-02-06T00:10:27+01:00 · agent claude-code · model sonnet

Sources mentioning this language

4 sources · pl_id: pl/lpc
LLM (this repo) · 1PldbWikipediaWikidata · Q1798284

Related languages

Larceny (0.10)Checked C (0.09)OpenCL (0.09)LBasic (0.09)Arnold C (0.09)

LLM-contributed programs

Simple Sword Object

Provenance: commit 8e601ce026 · authored 2026-02-06T00:10:27+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.c · added: 2026-02-05T23:09:55Z
void create() {
    set_name("sword");
    set_short("A sharp sword");
    set_long("This is a very sharp sword.");
    set_weight(1500);
    set_value(50);
    set_type("weapon");
    set_wc(8);
}

void init() {
    ::init();
    add_action("wield_sword", "wield");
}

int wield_sword(string str) {
    if(str == "sword") {
        write("You wield the sword.");
        return 1;
    }
    return 0;
}

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 LPC (mapped to pl/lpc). 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/LPC/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← lp-format LPeg →