Pyramid Scheme compiler (psll) Package name

Install latest/stable of Pyramid Scheme compiler

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install psll

Don't have snapd? Get set up for snaps.

Channel Version Published

Details for Pyramid Scheme compiler

Package name

  • psll

License

  • MIT

Last updated

  • Today - latest/stable
  • Today - latest/edge

Contact


Source code


Report a bug


Report a Snap Store violation

Share this snap

Generate an embeddable card to be shared on external websites.

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).

Revision Channel Version Published Build Commit Download SBOM

The build and commit information is derived from build infrastructure records.


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.