nowfound

Life & fun · February 26, 2017

CI

Cpi – Immediately compile and execute c++ program like a scripting lang

Tiny c++ interpreter

Cpi – Immediately compile and execute c++ program like a scripting lang launched on February 26, 2017 with 65 votes, #649 of 3,156 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 9 years on.

In plain words

Cpi is a tiny C++ interpreter that allows users to compile and execute C++ programs immediately like a scripting language. It uses an internal compiler to interpret code without requiring separate compilation steps. The tool is built with Qt and works on Windows and Unix-like systems, supporting rapid development and testing of C++ scripts.

written from the facts on this page · September 2026

From the sources

The following softwares are needed to build and execute cpi. The compiler is used as interpreter of cpi internally. $ qmake $ make $ sudo make install $ cpi -v cpi 2.2.0 Windows (Command prompt for VS2022): ********************************************************************** ** Visual Studio 2022 Developer Command Prompt v17 .14.7 ** Copyright ( c ) 2025 Microsoft Corporation ********************************************************************** [ vcvarsall .bat ] Environment initialized for : 'x64' > C :\Qt\6.7.0\msvc2019_64\bin\qtenv2.bat Setting up environment for Qt usage ... > cd ( cpi root directory ) > qmake > nmake > cpi .bat -h ( Run cpi command ) Usage : cpi .exe [ options ] […from treefrogframework.github.io

Does a similar job

all alternatives →

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, February 2017

the whole month →
  • Easily add high-quality animation to any native app

    Dev tools · 2017 · airbnb.com

  • Curated collection of 180 free fresh background gradients 🚀

    Work · 2017 · webgradients.com

  • Company culture decks aggregated all in one place

    Life & fun · 2017 · tettra.com

  • Open-source machine learning library by Google

    AI · 2017 · tensorflow.org

  • Milanote▲763

    The notes app for creative work

    Work · 2017 · milanote.com

  • A free guide to all HTML elements and attributes.

    Life & fun · 2017 · htmlreference.io