/cpprepl

a deadly simple repl for cpp with ghci style commands

Primary LanguageC++

c(pp)repl

demo

a simple c/cpp repl with ghci style commands

Install

npm i -g cpprepl

Config

cpprepl --clang++ # use clang++
cpprepl --g++     # or use g++ for default
crepl
crepl --clang

Usage

cpprepl --help
crepl -help

Commands

>>= :m iostream // load iostream
>>= :b i // show i in binary
>>= :t i // show i's type
>>= :q   // to quit