Back to case files
[other]completed7 months

PewPew

Custom programming language with a pixel-art game engine, WASM browser runtime, and Borland Turbo IDE-themed playground.

6
Data Types

whole, dotted, words, vibe, bag, kit

MEAS. 01
3
Run Targets

SDL2 desktop, browser (WASM), headless

MEAS. 02
8
Academy Courses

Interactive courses with XP and ranks

MEAS. 03

Overview

PewPew is a custom programming language built from scratch in C++17 with Flex/Bison. It includes a pixel-art game engine, runs in the browser via WebAssembly, and has its own Borland Turbo IDE-themed playground.

What It Does

  • Custom language — Full lexer, parser, and compiler in C++17/Flex/Bison
  • Pixel-art game engine — Write games in PewPew's custom language
  • WASM runtime — Runs in the browser via WebAssembly
  • Web backend framework — Build web apps with PewPew
  • Gen-Z syntax — Keywords like yell, gimme, vibe, bag, and kit that read like group chat
  • Borland Turbo IDE theme — Retro IDE-themed playground
  • Hall of Fame + Academy — Community features at pewpew.outshorts.in

Architecture

C++17 core with Flex/Bison for lexing/parsing. Compiled to WASM for browser deployment. Custom game engine with pixel-art rendering. Web backend framework for server-side apps.

Challenges

  • Designing a complete language grammar from scratch (lexing, parsing, code generation)
  • Building a game engine that can be controlled by a custom language
  • Compiling the entire toolchain to WebAssembly for browser deployment

Solutions

  • Used Flex/Bison for efficient lexer and parser generation in C++17
  • Built a pixel-art game engine that renders to SDL2 on desktop and browser canvas via WASM
  • Compiled to WASM with Emscripten for native-speed browser execution

Technologies

C++17FlexBisonEmscriptenSDL2WebAssembly

Languages

C++JavaScriptWebAssembly

Frameworks

Custom CompilerCustom Game Engine

Want something like this?

Project

Outshorts

AI platforms, full-stack SaaS, custom systems, and ready-to-ship solutions — built by a studio that ships fast.

Title block

DRAWN BY
MUSTHAFA
SHEET
OUTSHORTS.IN
REV
2026

© 2026 OUTSHORTS — ALL SHEETS CURRENT