-
Notifications
You must be signed in to change notification settings - Fork 4
Installing and using Pipefish
To install Pipefish, download and unzip the Pipefish repository, then install Go, and then in your terminal go into the main Pipefish folder and go build. You now have a working copy of Pipefish which can be run with .\pipefish; the first time you do this it will take a second or two to build some auxiliary files.
And then you will see something like this in your terminal:
╔═══════════♥═══════════╗
║ Pipefish version 0.4.x ║
╚═══════════♥═══════════╝
→
This is a REPL. Even though no service is running, it will still evaluate expressions in Pipefish.
→ 2 + 2
4
→ len "petunia"
7
→
We have supplied Pipefish with a VSCode extension which highlights Pipefish code and takes care of indentation for you. You can add this to VSCode by copying the pipefish-highlighter folder of the distribution to your <user home>/.vscode/extensions folder. If VSCode is already running, it may be necessary to restart it.
We intend to add support for other editors, but until then, the best way to code in Pipefish is probably to edit your scripts in VSCode while running Pipefish in a terminal in the bottom panel; your tastes may of course differ.
If you are using VSCode for the first time, note that it ships with autosave turned off. We recommend that you turn it on.
🧿 Pipefish is distributed under the MIT license. Please steal my code and ideas.
- Getting started
- Language basics
- The type system and built-in functions
- Functional Pipefish
- Encapsulation
- Imperative Pipefish
-
Imports and libraries
- The crypto/aes library
- The crypto/bcrypt library
- The crypto/rand library
- The crypto/rsa library
- The crypto/sha_256 library
- The crypto/sha_512 library
- The database/sql library
- The encoding/base_32 library
- The encoding/base_64 library
- The encoding/csv library
- The encoding/json library
- The files library
- The fmt library
- The html library
- The image library
- The image/bmp library
- The image/color library
- The image/jpeg library
- The image/png library
- The lists library
- The markdown library
- The math library
- The math/big library
- The math/cmplx library
- The math/rand library
- The net/http library
- The net/mail library
- The net/smtp library
- The net/url library
- The os/exec library
- The path library
- The path/filepath library
- The reflect library
- The regexp library
- The strconv library
- The strings library
- The terminal library
- The time library
- The unicode library
- Advanced Pipefish
- Developing in Pipefish
- Deployment
- Appendices