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/peoplecodeWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | multi-paradigm: object-oriented · imperative |
|---|---|
| Designed by | Oracle Corporation |
Related languages
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.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
PeopleCode Style Guide Example
Provenance: commit ecd57db9a9 · authored 2025-11-07T14:13:08+01:00 · model google/gemini-2.5-pro · Temp 0.4
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;