sharkdp / minicpp

A REPL-style development environment for small C++ snippets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

minicpp

A REPL-style "development environment" for small C++ snippets. For cases where an online compiler is out of the question.

minicpp

(the example uses the dbg(…) macro which is included in minicpp)

How to

  1. Start the watcher that recompiles and runs the snippet:
./run
  1. Edit main.cpp. Save the file to trigger a new compile-and-run cycle.

Restart

If you want to start from scratch, you can call

./reset

Install

Make sure that inotifywait is installed. It should be available for most Linux distributions (the package is typically called inotify-tools).

Apart from that, you just need to clone the repository:

git clone --recursive https://github.com/sharkdp/minicpp

About

A REPL-style development environment for small C++ snippets


Languages

Language:Shell 67.0%Language:C++ 33.0%