Skip to content
Pip: an imperative code-golf language
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Documentation
.gitignore
README.md
Tao of Pip.txt
errors.py
execution.py
operators.py
parsing.py
pip.py
ptypes.py
scanning.py
tokens.py

README.md

Pip

Pip is an interpreted, imperative code-golf language. For more on the syntax and some example programs, see the Documentation folder.

Usage

The quickest way to get started using Pip is at Try It Online! (Thanks, Dennis!)

Pip is implemented in Python3. The main interpreter is the pip.py file. It should run on most systems with Py3 installed simply by invoking pip.py in the directory where you put it (for *nix systems, use ./pip.py). 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:

pip.py [flags] path/to/codefile.pip [args]

pip.py [flags] -e 'code' [args]

pip.py (interactive mode)

Execute pip.py --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 my very unscientific testing so far, Pip has attained golfing scores roughly similar to those of GolfScript.

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.

You can’t perform that action at this time.