PEWPEW.EXE

SETUP.EXE

Installation Wizard

Install PewPew

Run PewPew natively on your machine. Built and tested for Linux and WSL. Or skip all of this and use the browser — your call.

No-install option

Don't want to touch a terminal?

PewPew is compiled to WebAssembly. Write and run code entirely in your browser, right now.

Open Playground

⚠ Notice — Windows users

PewPew builds with GNU tools (Flex, Bison, GCC). Native MSVC compilation isn't supported yet. Use WSL (Windows Subsystem for Linux) to build and run on Windows.

Build from source

PewPew is built from scratch in C++17 using Flex and Bison. Use the unified build script to compile the native binary or the WASM output.

1.Install prerequisites

You need Flex, Bison, CMake, and a C++ compiler.

$sudo apt update\nsudo apt install -y flex bison cmake g++ build-essential

2.Clone and build

$git clone https://github.com/its-musthafa/PewPew.git\ncd PewPew
$./build.sh native
Building native PewPew interpreter... Build complete.

3.Run a file

The executable lands in compiler/build/. Pass it a .pew file.

$./compiler/build/pewpew compiler/pew_scripts/simple.pew
Yo World!