REPL/Interpreter that works on top of MathX. It focuses to provide a simple interface and easy python-like syntax.
- (Optional) Install mathx for added functionality.
- Clone this repository using
git clone https;//github.com/math-x/mathx_repl
- Change directory to the source
cd mathx_repl
- Run the setup script using
./setup.sh
- Run the REPL using the command
mathx
ormathx -s
(silenced mode) or run a script usingmathx <path_to_script>
- (Optional) Install mathx for added functionality.
- Clone this repository using
git clone https;//github.com/math-x/mathx_repl
- Change directory to the source
cd mathx_repl
- Create a build folder to build in and enter the directory
mkdir build && cd build
- Invoke cmake to build repl
cmake ..
- Run the REPL using the command
./mathx_repl
or./mathx_repl -s
(silenced mode) or run a script using./mathx_repl <path_to_script>
>>> 1+2
3
>>> 99.6*7.69
765.924
>>> x=(3.14*5)
15.7
>>> x
15.7
>>> y=sin(x)
0.007963
>>> y
0.007963