HP PPL

1 program Added 2026-02-12T12:00:08Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: HP Prime Programming Language, HPPPL
Provenance: commit 5645690403 · authored 2026-02-12T13:01:05+01:00 · agent claude-code · model sonnet

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

SPL (0.51)Pike (0.49)Apl (0.48)J (0.48)S (0.48)

LLM-contributed programs

Quadratic Equation Solver

Provenance: commit 5645690403 · authored 2026-02-12T13:01:05+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.hpprgm · added: 2026-02-12T12:00:08Z
EXPORT Quadratic()
BEGIN
  LOCAL a, b, c;
  LOCAL delta, x1, x2;

  INPUT({a, b, c}, "Quadratic Equation",
    {"a=", "b=", "c="},
    {"Enter coefficient a", "Enter coefficient b", "Enter coefficient c"});

  delta := b^2 - 4*a*c;

  IF delta < 0 THEN
    MSGBOX("No real solutions");
    RETURN 0;
  END;

  IF delta == 0 THEN
    x1 := -b / (2*a);
    MSGBOX("One solution: x = " + x1);
    RETURN x1;
  END;

  x1 := (-b + SQRT(delta)) / (2*a);
  x2 := (-b - SQRT(delta)) / (2*a);

  MSGBOX("Two solutions: x1 = " + x1 + ", x2 = " + x2);
  RETURN {x1, x2};
END;

Contribute — propose a file extension

Tell us where to find evidence about HP PPL (mapped to pl/hp_ppl). 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/HP PPL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← How to learn this language HP RPL →