1 # miniREPL [![Codacy Badge](https://app.codacy.com/project/badge/Grade/1ffc16cdfeca4a53b37e97a8a9a8957b)](https://www.codacy.com/manual/lemao.vrm07/minirepl?utm_source=github.com&utm_medium=referral&utm_content=vrmiguel/minirepl&utm_campaign=Badge_Grade) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
3 A work-in-progress small arithmetic REPL written in pure C++11.
9 miniREPL -- github.com/vrmiguel/minirepl
10 >>> myVar = -2^3 - 4*5
28 The REPL currently only deals in integers and has no parenthesis support yet.
29 Variables can be created with any combination of upper and lower-case characters.
35 On the root folder, run ```qmake && make```.
37 Start the REPL with `./minirepl`.
39 The QMake version used here is 3.1.
40 A compiler supporting at least C++11 is needed, with no extra dependencies
42 ### A more lengthy way
44 On the root folder, run ```g++ -c -pipe -std=gnu++11 -Wall -W -fPIC -I. Sources/main.cpp Sources/interp.cpp Sources/_os.cpp Sources/token.cpp```, followed by ```g++ -Wl,-O1 -o minirepl main.o interp.o _os.o token.o```.
46 The `-std=gnu++11` flag can be freely switched to `-std=c++11` if so wished.