XCODX |

Paradoc Online Compiler & Interpreter

Select Language
Online Code Compiler
Full HTML IDE
Py main.py
Program Output Ready
  Welcome to XCODX Online Compiler

  Quick Start:
  Ctrl+Enter  Run code
  Ctrl+S      Save / Download
  Ctrl+L      Clear output

  Select a language and start coding.
Success
Operation completed

About Paradoc

Paradoc is a stack-based golfing language by betaveros, the handle of competitive programmer Brian Chen, who built it in the late 2010s as a personal successor to the CJam style of golfing. It keeps the familiar model, single-character operators transforming a stack, with implicit printing at program end, but layers on ideas of its own: trailer characters that modify the operator before them, block syntax for higher-order operations, and reference implementations in both Python and a web-friendly build. It is a niche language even by golfing standards, documented mainly through its GitHub repository, which makes it a genuine curiosity for esolang collectors. XCODX hosts the interpreter behind an interactive terminal, so exploring Paradoc requires nothing beyond this page.

Hello World in Paradoc

"Hello, World!"
How it works: Paradoc programs manipulate a stack, and whatever remains on it is printed when execution finishes. Pushing a single string literal therefore prints the greeting with no explicit output command, the same implicit-output convention popularized by GolfScript and CJam.

When to use Paradoc

Paradoc appeals to golfers who enjoyed CJam's stack discipline and want to see one designer's refinements: its trailer system, where suffix characters tweak an operation's behavior, is a distinctive answer to the how-do-you-fit-more-meanings-per-byte problem. It suits stack-manipulation and arithmetic challenges, rotating-language events where rarity scores points, and anyone studying golfing-language design who wants a readable, modern, personally-maintained codebase to learn from.

Common questions

What are trailers in Paradoc?

Trailers are suffix characters attached to an operator or literal that modify its meaning, for example turning an operation into a mapped or filtered variant. Instead of minting a separate symbol for every combination, Paradoc composes a base operation with modifiers, a design its documentation discusses openly as a tradeoff against the giant flat command tables of other golfing languages.

How does Paradoc relate to CJam and GolfScript?

It is a direct descendant in the stack-language lineage: implicit output, single-character operators, and blocks all come from that tradition, and its author has described it as informed by experience golfing in CJam. Paradoc modernizes the formula with cleaner numeric handling, its trailer mechanism, and an implementation in Python that is easy to read and extend.

Is Paradoc used in competitions?

Only occasionally. It is permitted on Code Golf Stack Exchange like any language with a public interpreter, and answers do exist, but its community is small and byte counts generally sit between CJam and the codepage heavyweights. Most people meet Paradoc through curiosity about its author, a well-known puzzle hunter and competitive programmer, rather than through leaderboards.

How Paradoc runs on XCODX

Sandbox filename
main.pdc
Entry point
single main source file
Editor grammar
plain text — no highlighter ships for this language
Reading stdin
no standard input construct
Input delivery
live WebSocket stream
Prompt flushing
flush manually before reading input
Compile limit
10 s
Run limit
3 s batch · up to 3 min live
Memory
256 MB per stage
Max source
50,000 characters

Default program on this page

"Hello from Paradoc!"