---
title: Install Pyramid Scheme compiler on Linux | Snap Store
description: Get the latest version of Pyramid Scheme compiler for Linux - Compiler
  for the Pyramid Scheme esolang
url: https://snapcraft.io/psll
---

# Pyramid Scheme compiler (psll)

[Marcin Konowalczyk (lczyk)](https://snapcraft.io/publisher/lczyk "View all snaps from Marcin Konowalczyk (lczyk)")

* [Marcin Konowalczyk (lczyk)](https://snapcraft.io/publisher/lczyk "View all snaps from Marcin Konowalczyk (lczyk)")
* [Development](https://snapcraft.io/search?categories=development)

latest/stable 0.1.9

Install latest/stable of Pyramid Scheme compiler

---

**Install using the command line**

```
sudo snap install psll
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* psll

---

### License

* MIT

---

### Last updated

* Today - latest/stable
* Today - latest/edge

---

### Contact

* [github.com/lczyk/psll-lang/issues](https://github.com/lczyk/psll-lang/issues "https://github.com/lczyk/psll-lang/issues")

---

### Source code

* [github.com/lczyk/psll-lang](https://github.com/lczyk/psll-lang "https://github.com/lczyk/psll-lang")

---

### Report a bug

* [github.com/lczyk/psll-lang/issues](https://github.com/lczyk/psll-lang/issues "https://github.com/lczyk/psll-lang/issues")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/psll#report-snap-modal)

---

* [Description](https://snapcraft.io/psll#tab-description)
* [Security](https://snapcraft.io/psll#tab-security)

#### Compiler for the Pyramid Scheme esolang

[Pyramid Scheme](<https://github.com/ConorOBrien-Foxx/Pyramid-Scheme>) is an esoteric language whose programs are ascii-art pyramids. psll lets you write them in a lisp-like syntax instead, with macros, strings, `def` and code-golf optimisations, and compiles that to the pyramids for you.

For example, this psll program

```
 (set a 6) (set b 7)
 (out (* a b))
```

compiles to

```
     ^        ^          ^
    / \      / \        / \
   /set\    /set\      /out\
  ^-----^  ^-----^    ^-----
 /a\   /6\/b\   /7\  /*\
 ---   ------   --- ^---^
                   /a\ /b\
                   --- ---
```

and prints `42`.

Commands:

* `psll compile prog.psll -o prog.pyra` -- compile to Pyramid Scheme
* `psll run prog.pyra` -- run a Pyramid Scheme program
* `psll compile-and-run prog.psll` -- both in one go

Ruby and the Pyramid Scheme interpreter are bundled, so everything works offline out of the box.

Read more in [the SIGBOVIK paper](<https://github.com/lczyk/psll-lang/blob/master/sigbovik-paper/sigbovik-psll.pdf>).

---

## Install Pyramid Scheme compiler on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/psll/arch)

[### CentOS](https://snapcraft.io/install/psll/centos)

[### Debian](https://snapcraft.io/install/psll/debian)

[### elementary OS](https://snapcraft.io/install/psll/elementary)

[### Fedora](https://snapcraft.io/install/psll/fedora)

[### KDE Neon](https://snapcraft.io/install/psll/kde-neon)

[### Kubuntu](https://snapcraft.io/install/psll/kubuntu)

[### Manjaro](https://snapcraft.io/install/psll/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/psll/pop)

[### openSUSE](https://snapcraft.io/install/psll/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/psll/rhel)

[### Ubuntu](https://snapcraft.io/install/psll/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/psll/raspbian)
