All languages

Jargon languageexperimental

Pseudolanguage whose procedures are lists of natural-language instructions interpreted by an LLM, kept on script by sequential execution and pinned by axioms the interpreter must hold true.

Overview

Jargon is Jake Brukhman's pseudolanguage: +++-bounded procedures of natural-language instructions that an LLM interprets, with braces for scope and * axioms that stay true while their scope lives. It exists because a Spanish-tutor prompt that kept growing lost its flow control, so structure was needed between prose and a formal language.

Code

+++ atoms
-- Return 69                          # an ATOM: text the interpreter executes
-- $n = [the number of countries in Latin America]   # a TYPE EXPRESSION
/output $n
2 == [an even number]                 # fuzzy comparison: TRUE
+++
Each tab is one construction plus its consumption: an atom is returned, a child scope provably hides $y from the parent, a parameterized procedure is invoked with /execute, and the loop is a label with /goto — with the axiom silently shaping every answer the procedure emits.

Distinctive traits

  • Axioms pin persistent behaviour: declare once and the interpreter keeps the condition true until the scope ends.
  • Referential omnipotence means instructions may reference the session, the specification, and world knowledge, which makes quines trivial.
  • Specification is deliberately informal: divination supplies variables and closures nobody defined, so runs are nondeterministic.
  • Fuzzy comparisons test a value against a natural-language type expression, so 2 == [an even number] evaluates to true.
  • Lexical scope is enforced as an error: reading a child-scope variable raises %scope-error rather than returning nothing.

Status

Specification v0.2.1 ships as a prompt plus a jargon_cli shell; there is no compiler or runtime beyond the model. The author states it should not be used in production yet.

History

Written in March 2023 after a Spanish-teaching prompt grew into unstructured text that lost track of its own flow. The +++ bounds nod to Urbit's Hoon and instruction lists borrow from YAML; Elliott credits the idea with prompting SudoLang. The README's related-projects list also names PromptLang and PML.

Sources & references