PeopleCode

1 program Added 2025-11-07T13:13:08Z Model: google/gemini-2.5-proTemp: 0.4 Evidence Report issue View issues
Aliases: —
Provenance: commit ecd57db9a9 · authored 2025-11-07T14:13:08+01:00 · model google/gemini-2.5-pro

Sources mentioning this language

5 sources · pl_id: pl/peoplecode
LLM (this repo) · 1PldbWikipediaRosettacodeWikidata · Q7165836

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.

Paradigmsmulti-paradigm: object-oriented · imperative
Designed byOracle Corporation

Related languages

Pencil Code (0.27)Pegasus Autocode (0.25)WTFCode (0.24)Mindcode (0.22)Ubercode (0.22)

LLM-contributed programs

PeopleCode Style Guide Example

Provenance: commit ecd57db9a9 · authored 2025-11-07T14:13:08+01:00 · model google/gemini-2.5-pro · Temp 0.4
code.pc · license: MIT · added: 2025-11-07T13:13:08Z
import PS_STRINGS:StringUtils;

class StyleGuide
   method StyleGuide();
   method findUsers(searchString As string) returns array of string;

   property string searchString get set;

private
   instance string &searchString;
end-class;

method StyleGuide
   %This.searchString = "PSADMIN";
end-method;

/**
 * Find oprids that match the search string
 */
method findUsers
   /+ &searchString as String +/
   /+ Returns Array of String +/

   local array of string &users = CreateArrayRept("", 0);
   local string &oprid;

   /* Use the StringUtils class to check for blank */
   local PS_STRINGS:StringUtils &stringUtils = create PS_STRINGS:StringUtils();
   if (&stringUtils.isNotBlank(&searchString)) then
      /* If search string is not blank, query PSOPRDEFN */
      Local SQL &userSql = CreateSQL("%SelectAll(:1) WHERE OPRID LIKE :2", Record.PSOPRDEFN, &searchString);

      while &userSql.Fetch(&oprid)
         &users.Push(&oprid);
      end-while;
   end-if;

   return &users;
end-method;

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 PeopleCode (mapped to pl/peoplecode). 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/PeopleCode/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Penrose Pep →