RPL

1 program Added 2025-11-07T13:07:04Z Model: google/gemini-2.5-proTemp: 0.4 Evidence Report issue View issues
Aliases: Reverse Polish Lisp
Provenance: commit fe15644c16 · authored 2025-11-07T14:07:04+01:00 · model google/gemini-2.5-pro

Sources mentioning this language

5 sources · pl_id: pl/rpl
LLM (this repo) · 1PldbWikipediaRosettacodeWikidata · Q960361

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.

Paradigmsconcatenative (stack-based) · structured
Designed byHewlett-Packard
First appeared1984
Influenced byRPN · Forth · Lisp

Related languages

HP RPL (0.70)RLISP (0.21)Lisp (0.19)Picolisp (0.19)Lush (0.19)

LLM-contributed programs

Base Converter

Provenance: commit fe15644c16 · authored 2025-11-07T14:07:04+01:00 · model google/gemini-2.5-pro · Temp 0.4
code.48s · license: Freeware · added: 2025-11-07T13:07:04Z
«
  { 10 10 }
  → b
  «
    DO
      #1Fh SYSEVAL
      →STR
      "BASE CONVERTER"
      "CURRENT BASES:"
      "FROM: " b 1 GET →STR +
      "TO:   " b 2 GET →STR +
      { } 2 →LIST
      "PRESS 'ENTER' TO CHANGE BASES"
      "PRESS 'EVAL' TO ENTER NUMBER"
      INFORM
      1 → n
      «
        DO
          {
            "FROM BASE?"
            "ENTER A NUMBER FROM 2 TO 16"
            { } 1 →LIST
            ""
            INPUT
            OBJ→
            DUP
            2 <
            SWAP
            16 >
            OR
            '#30004h SYSEVAL'
            EVAL
          }
        UNTIL
        b 1 n →TAG
      »
      IF
        1 CHOOSE
      THEN
        b
        → b'
        «
          DO
            #1Fh SYSEVAL
            →STR
            "ENTER NUMBER TO CONVERT"
            "CURRENT BASES:"
            "FROM: " b 1 GET →STR +
            "TO:   " b 2 GET →STR +
            { } 2 →LIST
            ""
            INPUT
            OBJ→
            → S
            «
              b 1 GET → B « S B →H »
              b 2 GET → B « H→ B »
              →STR
              "RESULT:"
              SWAP
              { } 1 →LIST
              MSGBOX
            »
          »
        »
        EVAL
      END
    UNTIL
      #30004h SYSEVAL
    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 RPL (mapped to pl/rpl). 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/RPL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← RPGLE rpl-lang →