Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Pip is an interpreted, imperative code-golf language. See the GitHub wiki for an introduction to the language, or the documentation site for a language reference.


The quickest way to get started using Pip is at Try It Online! (Thanks, Dennis!) Note, however, that the version of Pip on TIO is Pip Classic, which doesn't have any of the updates and new features since 2018.

An up-to-date version of Pip is hosted at Replit. Clicking the run button will drop you into an interactive mode session, which prompts for arguments and code and then executes the program.

Pip is implemented in Python 3. The main interpreter is the file. It should run on most systems with Python 3 installed simply by invoking in the directory where you put it (for *nix systems, use ./ You may also wish to modify the PATH environment variable to include the path to Pip, so that you can invoke it from anywhere. Typical invocation patterns: [flags] path/to/codefile.pip [args] [flags] -e 'code' [args] (interactive mode)

Execute --help for more detailed information.

Why Pip?

Pip's main reason for existence is to be a golfing language that 1) is imperative, and 2) uses infix operators. I do enjoy the challenge of stack-based programming from time to time, but I find the imperative paradigm much easier to think in, and therefore better. In a survey of Code Golf StackExchange submissions, Pip scored slightly better than GolfScript and CJam, but not quite as good as Pyth.

What does the name refer to?

This fellow, of course.

Actually, the name "Pip" originated as a recursive acronym, though exactly what it stands for is open to debate. For some possibilities, see The Tao of Pip. The name was also chosen for its connotations of smallness.

Pip is not to be confused with pip.