All languages

PromptLang languagedormant

A JavaScript-shaped prompt language executed by the model rather than a runtime: define/let/if/for, plus instructions to suppress commentary and emit only the program's output.

Overview

PromptLang is rUv's pseudolanguage with JavaScript's surface — define, let, if, for — whose interpreter is the model itself: you paste an initialization prompt, then submit code. It exists so a program's output can be requested without explanatory chatter, and so the same text can be translated to JavaScript or Python.

Code

let greeting = "Hello, World!";   // variables declared with let
let count = 3
count += 1                        // compound assignment
let label = "sum: " + count       // string concatenation
print(label)                      // sum: 4
Nothing here would look out of place in JavaScript, and that is the design: familiar syntax means the model needs no grammar lesson. The idiom tab's recursion is the telling one — flow control is ordinary, because the flow-control constructs are conventional rather than inferred from English.

Distinctive traits

  • The surface is deliberately JavaScript-shaped, so define/let/if/for need no specification beyond the header prompt.
  • Every session starts by pasting an initialization prompt that casts the model as the PromptLang v0.0.1 interpreter.
  • It ships instructions to suppress explanations, so the model's answer is the program's output and nothing else.
  • Output can be requested in a target language, which makes it a translator to JavaScript or Python rather than an executor alone.
  • Execution is zero-runtime: there is nothing to install, only a model conversation.

Status

The 2023 language was a prompt, not an implementation. The repository's 2026 direction is explicitly a different thing: a bounded typed JSON compiler that "is not the speculative language in the historical README", leaving the v0.0.1 design documented but unmaintained.

History

Published in March 2023, a fortnight before SudoLang and in the same week as Jargon; that README lists it among related LLM pseudolanguages. The project later pivoted to a safety-bounded compiler under the same name.

Sources & references