A PostScript-inspired stack-based scripting language.
Unlike PostScript, Page is intended for general scripting, like Python or Lua.
Prebuilt binaries can be downloaded from the releases.
Prerequisites
- A Unix system or similar (compiling on Windows is not currently supported)
- Git, which should be on your system already
- Nim, which can be downloaded from https://nim-lang.org/install.html
- Nimble, which should have come bundled with Nim
git clone https://github.com/voidwyrm-2/page
cd page
chmod +x build.nims
./build.nims host
./out/host/page -v
./out/host/page --replAddtionally, if you want to cross-compile or build in release mode, you'll need
- Zig, which can be downloaded from https://ziglang.org/download
git clone https://github.com/voidwyrm-2/page
cd page
sudo sh -c "printf '#! /bin/sh\nzig cc \\\$@' > /usr/local/bin/zigcc"
sudo chmod +x /usr/local/bin/zigcc
chmod +x build.nims
./build.nims someFor building for MacOS, you'll need
- A MacOS system, because of library issues
git clone https://github.com/voidwyrm-2/page
cd page
xcode-select --install
chmod +x build.nims
./build.nims macosSee contrib.md.