Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sharkdp/minicpp
A REPL-style development environment for small C++ snippets
https://github.com/sharkdp/minicpp
bash cpp repl terminal
Last synced: 7 days ago
JSON representation
A REPL-style development environment for small C++ snippets
- Host: GitHub
- URL: https://github.com/sharkdp/minicpp
- Owner: sharkdp
- Created: 2019-09-02T08:33:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-28T10:54:16.000Z (4 months ago)
- Last Synced: 2024-12-08T04:50:29.824Z (18 days ago)
- Topics: bash, cpp, repl, terminal
- Language: Shell
- Homepage:
- Size: 14.6 KB
- Stars: 50
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# minicpp
A REPL-style "development environment" for small C++ snippets.
For cases where an online compiler is out of the question.![minicpp](https://i.imgur.com/nyUedKx.png)
(the example uses the [`dbg(…)`](https://github.com/sharkdp/dbg-macro/) macro
which is included in `minicpp`)## How to
1. Start the watcher that recompiles and runs the snippet:
``` bash
./run
```2. 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
``` bash
./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:
``` bash
git clone --recursive https://github.com/sharkdp/minicpp
```