# mathicsscript **Repository Path**: yutiansut/mathicsscript ## Basic Information - **Project Name**: mathicsscript - **Description**: Terminal CLI to Mathics3 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-09-23 - **Last Updated**: 2021-09-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README |CI status| |Pypi Installs| |Latest Version| |Supported Python Versions| |Packaging status| mathicsscript is a command-line interface to `Mathics `_. |screenshot| See the `screenshot directory `_ for a description and another example. Features -------- * GNU Readline terminal interaction. This includes - saving command history between sessions. - variable completion, even for symbol names like `\\[Sigma]` - limited ESC keyboard input; for example *esc* ``p`` *esc* is π * Syntax highlighting using `pygments `_. * Automatic detection of light or dark `terminal background color `_. * Entering and displaying Unicode symbols such as used for Pi or Rule arrows * Provision for running in non-interactive batch mode which an be used inside POSIX shells Installing ---------- To install, run :: $ make install To install from git sources so that you run from the git source tree: :: $ make develop Running ------- Once install run using ``mathicsscript``: :: $ mathicsscript Mathicscript: 2.1.2, Mathics 2.1.1.dev0 on CPython 3.7.10 (default, Feb 27 2021, 08:15:51) using SymPy 1.7.1, mpmath 1.2.1, numpy 1.20.1 Copyright (C) 2011-2021 The Mathics Team. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the documentation for the full license. Quit by evaluating Quit[] or by pressing CONTROL-D. In[1]:= For batch use: :: $ mathicsscript -c "N[Pi, 30]" 3.14159265358979323846264338328 To read from a file In file ``/tmp/test.m``: :: sum=2+2 integral=Integrate[1,x] Print["Results: ",{sum,integral}] Feeding this into ``mathicsscript``: :: $ mathicsscript --no-prompt