All languages

Prose Markup Language notationdormant

XML-flavoured markup where ideas and instructions are tags: a head block carries topic and style guidance, and the model renders the rest into flowing article prose.

Overview

PML is Dinesh Raju's markup notation for generating article-length prose: XML-like tags hold ideas and <exec> instructions, and a separate <head> sets tone the reader never sees. It exists to turn a rough brain-dump into flowing text while staying rearrangeable without rewriting.

Code

<pml>
  <head>
    <topic>This article introduces PML</topic>
    <style>Write in a tone that sounds like Paul Graham</style>
    <style>use simple to understand words</style>
  </head>
<head> content is metadata the interpreter obeys but never prints, so one document can be re-styled without touching a single idea. The <exec> tab shows the escape hatch: an instruction telling the model how to write that section, which is the notation's answer to a missing construct.

Distinctive traits

  • The head block is guidance, not content, so tone and topic are edited without disturbing the ideas below.
  • <idea> marks an insight the model must weave into prose, leaving connective writing entirely to the model.
  • <exec> is an instruction to the interpreter, the escape hatch for anything the tags cannot express.
  • Output is continuous prose with no per-paragraph descriptors, so structure lives in the source rather than the article.
  • Only nine tags are defined, and the specification is a single prompt pasted ahead of the markup.

Status

A 2023 experiment: one specification file, one example, and no implementation beyond the interpreter prompt. The repository has not changed since its first day, and the author's own example treats it as a prototype awaiting stronger models.

History

Built in March 2023, days after Jake Brukhman's Jargon; the example article links that post and describes PML as an attempt to apply the same pseudolanguage idea to article writing.

Sources & references