diff --git a/.github/workflows/macos.yaml b/.github/workflows/macos.yaml index 0098532..1a99f73 100644 --- a/.github/workflows/macos.yaml +++ b/.github/workflows/macos.yaml @@ -25,19 +25,19 @@ jobs: python3 -m pip install --upgrade pip python3 -m pip install setuptools # We can comment out after next Mathics3-Scanner release - git clone --depth 1 https://github.com/Mathics3/Mathics3-scanner.git - cd Mathics3-scanner/ - pip install --no-build-isolation -e . - bash -x admin-tools/make-JSON-tables.sh - cd .. + # git clone --depth 1 https://github.com/Mathics3/Mathics3-scanner.git + # cd Mathics3-scanner/ + # pip install --no-build-isolation -e . + # bash -x admin-tools/make-JSON-tables.sh + # cd .. # We can comment out after next Mathics3-pygments release - python -m pip install -e git+https://github.com/Mathics3/Mathics3-pygments#egg=Mathics3-pygments + # python -m pip install -e git+https://github.com/Mathics3/Mathics3-pygments#egg=Mathics3-pygments # We can comment out after next mathics-core release - git clone --depth 1 https://github.com/Mathics3/mathics-core.git - cd mathics-core/ - pip install --no-build-isolation -e . - bash -x admin-tools/make-JSON-tables.sh - cd .. + # git clone --depth 1 https://github.com/Mathics3/mathics-core.git + # cd mathics-core/ + # pip install --no-build-isolation -e . + # bash -x admin-tools/make-JSON-tables.sh + # cd .. - name: Install mathicsscript run: | make diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 46ed9de..be11464 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -24,20 +24,20 @@ jobs: python3 -m pip install --upgrade pip python3 -m pip install setuptools # We can comment out after next Mathics3-Scanner release - git clone --depth 1 https://github.com/Mathics3/Mathics3-scanner.git - cd Mathics3-scanner/ - pip install --no-build-isolation -e . - bash -x admin-tools/make-JSON-tables.sh - cd .. + # git clone --depth 1 https://github.com/Mathics3/Mathics3-scanner.git + # cd Mathics3-scanner/ + # pip install --no-build-isolation -e . + # bash -x admin-tools/make-JSON-tables.sh + # cd .. # We can comment out after next Mathics3-pygments release - python -m pip install -e git+https://github.com/Mathics3/Mathics3-pygments#egg=Mathics3-pygments + # python -m pip install -e git+https://github.com/Mathics3/Mathics3-pygments#egg=Mathics3-pygments # We can comment out after next mathics-core release - cd .. - git clone --depth 1 https://github.com/Mathics3/mathics-core.git - cd mathics-core/ - pip install --no-build-isolation -e . - bash -x admin-tools/make-JSON-tables.sh - cd .. + # cd .. + # git clone --depth 1 https://github.com/Mathics3/mathics-core.git + # cd mathics-core/ + # pip install --no-build-isolation -e . + # bash -x admin-tools/make-JSON-tables.sh + # cd .. - name: Install mathicsscript run: | make diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index d767e35..95e02a3 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -25,19 +25,19 @@ jobs: python3 -m pip install wheel setuptools set LLVM_DIR="C:\Program Files\LLVM" # We can comment out after next Mathics-Scanner release - git clone --depth 1 https://github.com/Mathics3/Mathics3-scanner.git - cd Mathics3-scanner/ - pip install --no-build-isolation -e . - bash -x admin-tools/make-JSON-tables.sh - cd .. + # git clone --depth 1 https://github.com/Mathics3/Mathics3-scanner.git + # cd Mathics3-scanner/ + # pip install --no-build-isolation -e . + # bash -x admin-tools/make-JSON-tables.sh + # cd .. # We can comment out after next Mathics3-pygments release - python -m pip install -e git+https://github.com/Mathics3/Mathics3-pygments#egg=Mathics3-pygments + # python -m pip install -e git+https://github.com/Mathics3/Mathics3-pygments#egg=Mathics3-pygments # We can comment out after next mathics-core release - git clone --depth 1 https://github.com/Mathics3/mathics-core.git - cd mathics-core/ - pip install --no-build-isolation -e . - bash -x admin-tools/make-JSON-tables.sh - cd .. + # git clone --depth 1 https://github.com/Mathics3/mathics-core.git + # cd mathics-core/ + # pip install --no-build-isolation -e . + # bash -x admin-tools/make-JSON-tables.sh + # cd .. - name: Install mathicsscript run: | make diff --git a/CHANGES.rst b/CHANGES.rst index 3b463a9..fe45a28 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -94,7 +94,7 @@ Aug 10, 2025 * Handle images via PNG and matplotlib * Packaging: include matplotlib in full install * Customize Asymptote configuration and add a psviewer that removes eps trash -* Bump minimum Mathics core version to 4.0.0 +* Bump minimum Mathics3 core version to 4.0.0 * Bug fix: Check if ``self`` has ``session`` attribute in ``asy.__del__`` 3.3.1 @@ -200,13 +200,13 @@ the GNU Readline inputrc files from getting created properly. ----- * All escape sequence for unicode and letter names added for GNU Readline -* Use Mathics Scanner package +* Use Mathics3 Scanner package * Support XDG-style configuration files 1.1.2 ----- -* Fix ```Settings`$ShowFullForm``` now that we use Mathics supports Booleans better +* Fix ```Settings`$ShowFullForm``` now that we use Mathics3 supports Booleans better * Show mathicsscript version on startup * Add ```Settings`MathicsScriptVersion`` * Add all of the WL escape sequences diff --git a/Makefile b/Makefile index 81dde1c..de4e39d 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,11 @@ PYTHON ?= python3 PIP ?= pip3 RM ?= rm -.PHONY: all build check clean inputrc develop dist doc pytest sdist test rmChangeLog +.PHONY: all build \ + ChangeLog-without-corrections \ + check clean inputrc develop dist doc \ + pytest sdist test \ + rmChangeLog runner #: Default target - same as "develop" all: develop @@ -52,15 +56,18 @@ clean: @find . -name "*.pyc" -type f -delete @rm mathicsscript/inputrc-no-unicode mathicsscript/inputrc-unicode || true +#: Create source tarball +sdist: check-rst + $(PYTHON) ./setup.py sdist + #: Remove ChangeLog rmChangeLog: $(RM) ChangeLog || true -#: Create source tarball -sdist: check-rst - $(PYTHON) ./setup.py sdist +#: Create ChangeLog from version control without corrections +ChangeLog-without-corrections: + git log --pretty --numstat --summary | $(GIT2CL) >ChangeLog #: Create a ChangeLog from git via git log and git2cl ChangeLog: rmChangeLog ChangeLog-without-corrections - git log --pretty --numstat --summary | $(GIT2CL) >$@ patch ChangeLog < ChangeLog-spell-corrected.diff diff --git a/README.rst b/README.rst index ffbb770..df5747f 100644 --- a/README.rst +++ b/README.rst @@ -16,11 +16,11 @@ Features - 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 `mathics-pygments `_ which includes dynamically created variables and functions. +* Syntax highlighting using `Mathics3-pygments `_ which includes dynamically created variables and functions. * Automatic detection of light or dark `terminal background color `_. * Optional Graphics rendering via `matplotlib `_ for 2D graphics, and `Asymptote `_ for 3D and 2D graphics. -* 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 +* Entering and displaying Unicode symbols, such as those used for Pi or Rule arrows +* Provision for running in non-interactive batch mode, which can be used inside POSIX shells Installing ---------- @@ -30,7 +30,7 @@ To install with the full dependencies, run: $ make install[full] -To install from git sources so that you run from the git source tree: +To install from git sources, so that you run from the git source tree: :: @@ -41,19 +41,21 @@ To install from git sources so that you run from the git source tree: Running ------- -Once install run using ``mathicsscript``: +Once installed, run using ``mathicsscript``: :: + $ mathicsscript - Mathicscript: 7.0.0, Mathics 7.0.0 - on CPython 3.11.9 (main, May 6 2024, 12:58:03) [GCC 13.2.0] + Mathicscript: 10.0.0, Mathics3 10.0.0 + on CPython 3.14.3 (main, Mar 30 2026, 06:42:16) [GCC 13.3.0] + Using: - SymPy 1.12.1, mpmath 1.3.0, numpy 1.26.4 - cython 3.0.10, matplotlib 3.8.4, - Asymptote version 2.87 + SymPy 1.13.3, mpmath 1.3.0, numpy 2.4.4 + cython 3.2.4, matplotlib 3.10.8, + Asymptote version 2.95 - Copyright (C) 2011-2024 The Mathics Team. + Copyright (C) 2011-2026 The Mathics3 Team. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. @@ -67,12 +69,10 @@ Once install run using ``mathicsscript``: For batch use: :: - $ mathicsscript -c "N[Pi, 30]" - 3.14159265358979323846264338328 - -To read from a file + $ mathicsscript -c "N[Pi]" + 3.14159 -In file ``/tmp/test.m``: +To read from a file, in file ``/tmp/test.m``: :: @@ -126,17 +126,17 @@ doc under `8.29 three Why not IPython via Jupyter? ---------------------------- -There will always be a need for simple terminal-like -interaction. Although there is IPython support via Jupyter all of this -is pretty heavy-weight. To code to this protocol, a developer needs to -write a kernel, and use a wire protocol. This adds complexity not +There will always be a need for a simple terminal-like +interaction. Although there is IPython support via Jupyter, all of this +is pretty heavyweight. To code to this protocol, a developer needs to +write a kernel and use a wire protocol. This adds complexity not only for the person developing this package, but also for the user who needs to load the extra layers that aren't used. And when something goes wrong, it is harder to track down problems. At the other end of the spectrum, if the dependencies of this package are too onerous and you want even simpler, lighter-weight terminal interaction *without* -any of the features mentioned above, use ``mathics`` which is distributed as part of +any of the features mentioned above, use ``mathics3`` which is distributed as part of the core Mathic3 package. diff --git a/admin-tools/make-dist.sh b/admin-tools/make-dist.sh index a001ca3..994e768 100755 --- a/admin-tools/make-dist.sh +++ b/admin-tools/make-dist.sh @@ -24,6 +24,6 @@ if ! pyenv local $pyversion ; then exit $? fi rm -fr build -python setup.py bdist_wheel +python -m build --wheel python ./setup.py sdist finish diff --git a/admin-tools/pyenv-versions b/admin-tools/pyenv-versions index ed8818f..4da5213 100644 --- a/admin-tools/pyenv-versions +++ b/admin-tools/pyenv-versions @@ -6,4 +6,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then exit 1 fi -export PYVERSIONS='3.8 3.9 3.10 3.11' +export PYVERSIONS='3.11 3.12 3.13 3.14' diff --git a/mathicsscript/__main__.py b/mathicsscript/__main__.py index 1f4225b..ca540bb 100755 --- a/mathicsscript/__main__.py +++ b/mathicsscript/__main__.py @@ -246,8 +246,8 @@ def fmt_fun(query: Any) -> Any: # Should we test exit code for adding to history? GNU_readline.add_history(source_code.rstrip()) - # FIXME add this... when in Mathics core updated - # shell.definitions.increment_line(1) + # FIXME add this... when in Mathics3 core updated + shell.definitions.increment_line(1) except KeyboardInterrupt: shell.errmsg("\nKeyboardInterrupt") diff --git a/mathicsscript/autoload/settings.m b/mathicsscript/autoload/settings.m index e475f0c..432cc09 100644 --- a/mathicsscript/autoload/settings.m +++ b/mathicsscript/autoload/settings.m @@ -40,7 +40,7 @@ Settings`MathicsScriptVersion::usage = "This string is the version of MathicsScript we are running." -System`$Notebooks::usage = "Set True if the Mathics is being used with a notebook-based front end." +System`$Notebooks::usage = "Set True if the Mathics3 is being used with a notebook-based front end." System`$Notebooks = False Settings`$GroupAutocomplete::usage = "This Boolean variable sets whether mathicsscript should automatically close braces." diff --git a/mathicsscript/data/inputrc-no-unicode b/mathicsscript/data/inputrc-no-unicode index fe41918..880c4b3 100644 --- a/mathicsscript/data/inputrc-no-unicode +++ b/mathicsscript/data/inputrc-no-unicode @@ -1,726 +1,2 @@ # GNU Readline input unicode translations -# Autogenerated from mathics_scanner.generate.rl_inputrc on Sun Mar 1 03:40:19 PM EST 2026 - -"\ea'\e": "á" -"\ea-\e": "ā" -"\eau\e": "ă" -"\ea\"\e": "ä" -"\eae\e": "æ" -"\ea`\e": "à" -"\ea^\e": "â" -"\eao\e": "å" -"\ea~\e": "ã" -"\eal\e": "ℵ" -"\eesc\e": "\\[AliasIndicator]" -"\eam\e": "\\[AlignmentMarker]" -"\ea\e": "α" -"\ealt\e": "\\[AltKey]" -"\e&&\e": "∧" -"\eAng\e": "Å" -"\e\\\e": "∖" -"\ebe\e": "ℶ" -"\eb\e": "β" -"\ebv\e": "˘" -"\ebu\e": "•" -"\ec'\e": "ć" -"\ec\e": "ç" -"\ecv\e": "č" -"\eA'\e": "Á" -"\eA-\e": "Ā" -"\eAu\e": "Ă" -"\eA\"\e": "Ä" -"\eAE\e": "Æ" -"\eA`\e": "À" -"\eA^\e": "Â" -"\eAo\e": "Å" -"\eA~\e": "Ã" -"\eA\e": "Α" -"\eB\e": "Β" -"\eC'\e": "Ć" -"\eC\e": "Ç" -"\eCv\e": "Č" -"\eCh\e": "Χ" -"\eDv\e": "Ď" -"\eD\e": "Δ" -"\eDD\e": "ⅅ" -"\eDi\e": "Ϝ" -"\eE'\e": "É" -"\eE-\e": "Ē" -"\eEu\e": "Ĕ" -"\eE\"\e": "Ë" -"\eE`\e": "È" -"\eEv\e": "Ě" -"\eE^\e": "Ê" -"\eE\e": "Ε" -"\eEt\e": "Η" -"\eD-\e": "Ð" -"\eG\e": "Γ" -"\eI'\e": "Í" -"\eIu\e": "Ĭ" -"\eI\"\e": "Ï" -"\eI`\e": "Ì" -"\eI^\e": "Î" -"\eI\e": "Ι" -"\eK\e": "Κ" -"\eKo\e": "Ϟ" -"\eL/\e": "Ł" -"\eL\e": "Λ" -"\eM\e": "Μ" -"\eNv\e": "Ň" -"\eN~\e": "Ñ" -"\eN\e": "Ν" -"\eO'\e": "Ó" -"\eO''\e": "Ő" -"\eO\"\e": "Ö" -"\eOE\e": "Œ" -"\eO`\e": "Ò" -"\eO^\e": "Ô" -"\eO/\e": "Ø" -"\eO~\e": "Õ" -"\eO\e": "Ω" -"\eOm\e": "Ο" -"\ePh\e": "Φ" -"\eP\e": "Π" -"\ePs\e": "Ψ" -"\eRv\e": "Ř" -"\eR\e": "Ρ" -"\eSv\e": "Š" -"\eSa\e": "Ϡ" -"\eS\e": "Σ" -"\eSti\e": "Ϛ" -"\eTv\e": "Ť" -"\eT\e": "Τ" -"\eTh\e": "Θ" -"\eThn\e": "Þ" -"\eU'\e": "Ú" -"\eU''\e": "Ű" -"\eU\"\e": "Ü" -"\eU`\e": "Ù" -"\eU^\e": "Û" -"\eUo\e": "Ů" -"\eU\e": "Υ" -"\eX\e": "Ξ" -"\eY'\e": "Ý" -"\eZv\e": "Ž" -"\eZ\e": "Ζ" -"\ecd\e": "¸" -"\ecent\e": "¢" -"\e.\e": "·" -"\ech\e": "χ" -"\ec.\e": "⊙" -"\ec-\e": "⊖" -"\ec+\e": "⊕" -"\ec*\e": "⊗" -"\eccint\e": "∲" -"\e]\"\e": "”" -"\e]'\e": "’" -"\ecl\e": "⌘" -"\e:\e": "∶" -"\ecmd\e": "⌘" -"\e===\e": "≡" -"\eco\e": "\\[Conjugate]" -"\ect\e": "\\[ConjugateTranspose]" -"\ecc\e": "𝕔" -"\econt\e": "⋱" -"\ecint\e": "∮" -"\ectrl\e": "\\[ControlKey]" -"\ecoprod\e": "∐" -"\ecccint\e": "∳" -"\ecross\e": "⨯" -"\ecU\e": "ϒ" -"\ece\e": "ε" -"\eck\e": "ϰ" -"\ej\e": "φ" -"\ecp\e": "ϖ" -"\ecr\e": "ϱ" -"\ecq\e": "ϑ" -"\edv\e": "ď" -"\edg\e": "†" -"\eda\e": "ℸ" -"\e-\e": "–" -"\edeg\e": "°" -"\edel\e": "∇" -"\e del\e": "\\[DeleteKey]" -"\ed\e": "δ" -"\edia\e": "⋄" -"\ediffd\e": "∆" -"\edd\e": "𝑑" -"\edi\e": "ϝ" -"\ede\e": "⇴" -"\edratio\e": "ϴ" -"\eshift\e": "\\[DiscreteShift]" -"\edhy\e": "\\[DiscretionaryHyphen]" -"\edlsep\e": "\\[DiscretionaryLineSeparator]" -"\edpba\e": "\\[DiscretionaryPageBreakAbove]" -"\edpbb\e": "\\[DiscretionaryPageBreakBelow]" -"\edpsep\e": "\\[DiscretionaryParagraphSeparator]" -"\ediv\e": "÷" -"\edivides\e": "∣" -"\e.=\e": "≐" -"\eddg\e": "‡" -"\e <=\e": "⇐" -"\e<=>\e": "⇔" -"\e<==\e": "⟸" -"\e<==>\e": "⟺" -"\e==>\e": "⟹" -"\e''\e": "″" -"\e =>\e": "⇒" -"\edsa\e": "𝕒" -"\edsb\e": "𝕓" -"\edsc\e": "𝕔" -"\edsA\e": "𝔸" -"\edsB\e": "𝔹" -"\edsC\e": "ℂ" -"\edsD\e": "𝔻" -"\edsE\e": "𝔼" -"\edsF\e": "𝔽" -"\edsG\e": "𝔾" -"\edsH\e": "ℍ" -"\edsI\e": "𝕀" -"\edsJ\e": "𝕁" -"\edsK\e": "𝕂" -"\edsL\e": "𝕃" -"\edsM\e": "𝕄" -"\edsN\e": "ℕ" -"\edsO\e": "𝕆" -"\edsP\e": "ℙ" -"\edsQ\e": "ℚ" -"\edsR\e": "ℝ" -"\edsS\e": "𝕊" -"\edsT\e": "𝕋" -"\edsU\e": "𝕌" -"\edsV\e": "𝕍" -"\edsW\e": "𝕎" -"\edsX\e": "𝕏" -"\edsY\e": "𝕐" -"\edsZ\e": "ℤ" -"\edsd\e": "𝕕" -"\edse\e": "𝕖" -"\eds8\e": "𝟠" -"\edsf\e": "𝕗" -"\eds5\e": "𝟝" -"\eds4\e": "𝟜" -"\edsg\e": "𝕘" -"\edsh\e": "𝕙" -"\edsi\e": "𝕚" -"\edsj\e": "𝕛" -"\edsk\e": "𝕜" -"\edsl\e": "𝕝" -"\edsm\e": "𝕞" -"\edsn\e": "𝕟" -"\eds9\e": "𝟡" -"\edso\e": "𝕠" -"\eds1\e": "𝟙" -"\edsp\e": "𝕡" -"\edsq\e": "𝕢" -"\edsr\e": "𝕣" -"\edss\e": "𝕤" -"\eds7\e": "𝟟" -"\eds6\e": "𝟞" -"\edst\e": "𝕥" -"\eds3\e": "𝟛" -"\eds2\e": "𝟚" -"\edsu\e": "𝕦" -"\edsv\e": "𝕧" -"\edsw\e": "𝕨" -"\edsx\e": "𝕩" -"\edsy\e": "𝕪" -"\edsz\e": "𝕫" -"\eds0\e": "𝟘" -"\e ||\e": "∥" -"\egg\e": "ℽ" -"\epp\e": "ℼ" -"\edbv\e": " ̑" -"\ed!\e": "¡" -"\ed?\e": "¿" -"\edT\e": "⊤" -"\ee'\e": "é" -"\ee-\e": "ē" -"\eeu\e": "ĕ" -"\ee\"\e": "ë" -"\ee`\e": "è" -"\eev\e": "ě" -"\ee^\e": "ê" -"\eel\e": "∈" -"\e...\e": "…" -"\eeci\e": "○" -"\ees\e": "∅" -"\eesci\e": "◦" -"\eessq\e": "◻" -"\eesq\e": "□" -"\eevssq\e": "▫" -"\eent\e": "\\[EnterKey]" -"\ee\e": "ϵ" -"\e==\e": "⩵" -"\e=~\e": "≂" -"\eequi\e": "⇌" -"\eequiv\e": "⧦" -"\e esc\e": "\\[EscapeKey]" -"\eet\e": "η" -"\ed-\e": "ð" -"\eex\e": "∃" -"\eee\e": "ⅇ" -"\efci\e": "●" -"\efsci\e": "•" -"\efssq\e": "◼" -"\efsq\e": "■" -"\efvssq\e": "▪" -"\efs\e": "ς" -"\e*5\e": "★" -"\efa\e": "∀" -"\e.a\e": "ạ" -"\e.Alpha\e": "α̣" -"\e.b\e": "ḅ" -"\e.Beta\e": "β̣" -"\e.c\e": "c̣" -"\e.A\e": "Ạ" -"\e.CapitalAlpha\e": "Α̣" -"\e.B\e": "Ḅ" -"\e.CapitalBeta\e": "Β̣" -"\e.C\e": "C̣" -"\e.CapitalChi\e": "Χ̣" -"\e.D\e": "Ḍ" -"\e.CapitalDelta\e": "Δ̣" -"\e.CapitalDigamma\e": "Ϝ̣" -"\e.E\e": "Ẹ" -"\e.CapitalEpsilon\e": "Ε̣" -"\e.CapitalEta\e": "Η̣" -"\e.F\e": "F̣" -"\e.G\e": "G̣" -"\e.CapitalGamma\e": "Γ" -"\e.H\e": "Ḥ" -"\e.I\e": "Ị" -"\e.CapitalIota\e": "Ι̣" -"\e.J\e": "J̣" -"\e.K\e": "Ḳ" -"\e.CapitalKappa\e": "Κ̣" -"\e.CapitalKoppa\e": "Ϟ̣" -"\e.L\e": "Ḷ" -"\e.CapitalLambda\e": "Λ̣" -"\e.M\e": "Ṃ" -"\e.CapitalMu\e": "Μ̣" -"\e.N\e": "Ṇ" -"\e.CapitalNu\e": "Ν̣" -"\e.O\e": "Ọ" -"\e.CapitalOmega\e": "Ω̣" -"\e.CapitalOmicron\e": "Ο̣" -"\e.P\e": "P̣" -"\e.CapitalPhi\e": "Φ̣" -"\e.CapitalPi\e": "Π̣" -"\e.CapitalPsi\e": "Ψ̣" -"\e.Q\e": "Q̣" -"\e.R\e": "Ṛ" -"\e.CapitalRho\e": "Ρ̣" -"\e.S\e": "Ṣ" -"\e.CapitalSampi\e": "Ϡ̣" -"\e.CapitalSigma\e": "Σ̣" -"\e.CapitalStigma\e": "Ϛ̣" -"\e.T\e": "Ṭ" -"\e.CapitalTau\e": "Τ̣" -"\e.CapitalTheta\e": "Θ" -"\e.U\e": "Ụ" -"\e.CapitalUpsilon\e": "Υ̣" -"\e.V\e": "Ṿ" -"\e.W\e": "Ẉ" -"\e.X\e": "X̣" -"\e.CapitalXi\e": "Ξ̣" -"\e.Y\e": "Ỵ" -"\e.Z\e": "Ẓ" -"\e.CapitalZeta\e": "Ζ̣" -"\e.Chi\e": "χ̣" -"\e.CurlyCapitalUpsilon\e": "ϒ̣" -"\e.CurlyEpsilon\e": "ε̣" -"\e.CurlyKappa\e": "ϰ̣" -"\e.CurlyPhi\e": "φ̣" -"\e.CurlyPi\e": "ϖ̣" -"\e.CurlyRho\e": "ϱ̣" -"\e.CurlyTheta\e": "ϑ̣" -"\e.d\e": "ḍ" -"\e.Delta\e": "δ̣" -"\e.Digamma\e": "ϝ" -"\e.e\e": "ẹ" -"\e.Epsilon\e": "ϵ̣" -"\e.Eta\e": "η̣" -"\e.f\e": "f̣" -"\e.FinalSigma\e": "ς̣" -"\e.g\e": "g̣" -"\e.Gamma\e": "γ̣" -"\e.h\e": "ḥ" -"\e.i\e": "ị" -"\e.Iota\e": "Ι̣" -"\e.j\e": "j̣" -"\e.k\e": "ḳ" -"\e.Kappa\e": "κ̣" -"\e.Koppa\e": "ϟ̣" -"\e.l\e": "ḷ" -"\e.Lambda\e": "λ̣" -"\e.m\e": "ṃ" -"\e.Mu\e": "μ̣" -"\e.n\e": "ṇ" -"\e.Nu\e": "ν̣" -"\e.o\e": "ọ" -"\e.Omega\e": "ω̣" -"\e.Omicron\e": "ο̣" -"\e.p\e": "p̣" -"\e.Phi\e": "ϕ̣" -"\e.Pi\e": "π̣" -"\e.Psi\e": "ψ̣" -"\e.q\e": "q̣" -"\e.r\e": "ṛ" -"\e.Rho\e": "ρ̣" -"\e.s\e": "ṣ" -"\e.Sampi\e": "ϡ̣" -"\e.Sigma\e": "σ̣" -"\e.Stigma\e": "ϛ" -"\e.t\e": "ṭ" -"\e.Tau\e": "τ̣" -"\e.Theta\e": "θ̣" -"\e.u\e": "ụ" -"\e.Upsilon\e": "υ̣" -"\e.v\e": "ṿ" -"\e.w\e": "ẉ" -"\e.x\e": "x̣" -"\e.Xi\e": "ξ̣" -"\e.y\e": "ỵ" -"\e.z\e": "ẓ" -"\e.Zeta\e": "ζ̣" -"\e:-@\e": "\\[FreakedSmiley]" -"\eg\e": "γ" -"\egi\e": "ℷ" -"\egoa\e": "𝔞" -"\egob\e": "𝔟" -"\egoc\e": "𝔠" -"\egoA\e": "𝔄" -"\egoB\e": "𝔅" -"\egoC\e": "ℭ" -"\egoD\e": "𝔇" -"\egoE\e": "𝔈" -"\egoF\e": "𝔉" -"\egoG\e": "𝔊" -"\egoH\e": "ℌ" -"\egoI\e": "ℑ" -"\egoJ\e": "𝔍" -"\egoK\e": "𝔎" -"\egoL\e": "𝔏" -"\egoM\e": "𝔐" -"\egoN\e": "𝔑" -"\egoO\e": "𝔒" -"\egoP\e": "𝔓" -"\egoQ\e": "𝔔" -"\egoR\e": "ℜ" -"\egoS\e": "𝔖" -"\egoT\e": "𝔗" -"\egoU\e": "𝔘" -"\egoV\e": "𝔙" -"\egoW\e": "𝔚" -"\egoX\e": "𝔛" -"\egoY\e": "𝔜" -"\egoZ\e": "ℨ" -"\egod\e": "𝔡" -"\egoe\e": "𝔢" -"\ego8\e": "\\[GothicEight]" -"\egof\e": "𝔣" -"\ego5\e": "\\[GothicFive]" -"\ego4\e": "\\[GothicFour]" -"\egog\e": "𝔤" -"\egoh\e": "𝔥" -"\egoi\e": "𝔦" -"\egoj\e": "𝔧" -"\egok\e": "𝔨" -"\egol\e": "𝔩" -"\egom\e": "𝔪" -"\egon\e": "𝔫" -"\ego9\e": "\\[GothicNine]" -"\egoo\e": "𝔬" -"\ego1\e": "\\[GothicOne]" -"\egop\e": "𝔭" -"\egoq\e": "𝔮" -"\egor\e": "𝔯" -"\egos\e": "𝔰" -"\ego7\e": "\\[GothicSeven]" -"\ego6\e": "\\[GothicSix]" -"\egot\e": "𝔱" -"\ego3\e": "\\[GothicThree]" -"\ego2\e": "\\[GothicTwo]" -"\egou\e": "𝔲" -"\egov\e": "𝔳" -"\egow\e": "𝔴" -"\egox\e": "𝔵" -"\egoy\e": "𝔶" -"\egoz\e": "𝔷" -"\ego0\e": "\\[GothicZero]" -"\egci\e": "●" -"\egsq\e": "■" -"\e>=\e": "≥" -"\e>/\e": "⩾" -"\e>~\e": "≳" -"\ehb\e": "ℏ" -"\ehck\e": "ˇ" -"\e:)\e": "☺" -"\ehc\e": "⊹" -"\ehline\e": "─" -"\eh=\e": "≏" -"\ehy\e": "‐" -"\ei'\e": "í" -"\eiu\e": "ĭ" -"\ei\"\e": "ï" -"\ei`\e": "ì" -"\ei^\e": "î" -"\eii\e": "ⅈ" -"\ejj\e": "ⅉ" -"\e+\e": "⁤" -"\e=>\e": "⇒" -"\enl\e": "\n" -"\einf\e": "∞" -"\eint\e": "∫" -"\einter\e": "⋂" -"\e@\e": "" -"\e-i\e": "" -"\ei-\e": "" -"\eis\e": "" -"\ei\e": "ι" -"\ek\e": "κ" -"\eko\e": "ϟ" -"\el/\e": "ł" -"\el\e": "λ" -"\e<\e": "〈" -"\e<-\e": "←" -"\e<|\e": "\\[LeftAssociation]" -"\el|\e": "|" -"\elc\e": "⌈" -"\e[[\e": "〚" -"\el||\e": "‖" -"\elf\e": "⌊" -"\eg<<\e": "«" -"\e[\e": "\\[LeftModified]" -"\e<->\e": "↔" -"\elT\e": "⊣" -"\e<=\e": "≤" -"\e\e": "⟷" -"\e-->\e": "⟶" -"\eMlim\e": "\\[MaxLimit]" -"\emath\e": "\\[MathematicaIcon]" -"\emho\e": "℧" -"\emi\e": "µ" -"\emlim\e": "lim" -"\e-+\e": "∓" -"\em\e": "μ" -"\env\e": "ň" -"\en~\e": "ñ" -"\enand\e": "⊼" -"\e- \e": "\\[NegativeMediumSpace]" -"\e- \e": "\\[NegativeThickSpace]" -"\e- \e": "\\[NegativeThinSpace]" -"\e- \e": "\\[NegativeVeryThinSpace]" -"\e:-|\e": "\\[NeutralSmiley]" -"\enb\e": "\\[NoBreak]" -"\enbs\e": "\\[NonBreakingSpace]" -"\enor\e": "⊽" -"\e!\e": "¬" -"\e!===\e": "≢" -"\e!||\e": "∦" -"\e!el\e": "∉" -"\e!=\e": "≠" -"\e!=~\e": "\\[NotEqualTilde]" -"\e!ex\e": "∄" -"\e!>\e": "≯" -"\e!>=\e": "≱" -"\e!>/\e": "\\[NotGreaterSlantEqual]" -"\e!>~\e": "≵" -"\e!h=\e": "\\[NotHumpEqual]" -"\e!<\e": "≮" -"\e!<=\e": "≰" -"\e!\e": "〉" -"\e ->\e": "→" -"\e|>\e": "\\[RightAssociation]" -"\er|\e": "|" -"\erc\e": "⌉" -"\e]]\e": "〛" -"\erf\e": "⌋" -"\eg>>\e": "»" -"\e]\e": "\\[RightModified]" -"\erT\e": "⊢" -"\evec\e": "⇀" -"\e->\e": "⇾" -"\e:>\e": "⧴" -"\esv\e": "š" -"\esz\e": "ß" -"\e:-(\e": "☹" -"\esa\e": "ϡ" -"\esca\e": "𝒶" -"\escb\e": "𝒷" -"\escc\e": "𝒸" -"\escA\e": "𝒜" -"\escB\e": "ℬ" -"\escC\e": "𝒞" -"\escD\e": "𝒟" -"\escE\e": "ℰ" -"\escF\e": "ℱ" -"\escG\e": "𝒢" -"\escH\e": "ℋ" -"\escI\e": "ℐ" -"\escJ\e": "𝒥" -"\escK\e": "𝒦" -"\escL\e": "ℒ" -"\escM\e": "ℳ" -"\escN\e": "𝒩" -"\escO\e": "𝒪" -"\escP\e": "𝒫" -"\escQ\e": "𝒬" -"\escR\e": "ℛ" -"\escS\e": "𝒮" -"\escT\e": "𝒯" -"\escU\e": "𝒰" -"\escV\e": "𝒱" -"\escW\e": "𝒲" -"\escX\e": "𝒳" -"\escY\e": "𝒴" -"\escZ\e": "𝒵" -"\escd\e": "𝒹" -"\esce\e": "ℯ" -"\esc8\e": "\\[ScriptEight]" -"\escf\e": "𝒻" -"\esc5\e": "\\[ScriptFive]" -"\esc4\e": "\\[ScriptFour]" -"\escg\e": "ℊ" -"\esch\e": "𝒽" -"\esci\e": "𝒾" -"\escj\e": "𝒿" -"\esck\e": "𝓀" -"\escl\e": "ℓ" -"\escm\e": "𝓂" -"\escn\e": "𝓃" -"\esc9\e": "\\[ScriptNine]" -"\esco\e": "ℴ" -"\esc1\e": "\\[ScriptOne]" -"\escp\e": "𝓅" -"\escq\e": "𝓆" -"\escr\e": "𝓇" -"\escs\e": "𝓈" -"\esc7\e": "\\[ScriptSeven]" -"\esc6\e": "\\[ScriptSix]" -"\esct\e": "𝓉" -"\esc3\e": "\\[ScriptThree]" -"\esc2\e": "\\[ScriptTwo]" -"\escu\e": "𝓊" -"\escv\e": "𝓋" -"\escw\e": "𝓌" -"\escx\e": "𝓍" -"\escy\e": "𝓎" -"\escz\e": "𝓏" -"\esc0\e": "\\[ScriptZero]" -"\espl\e": "\\[SelectionPlaceholder]" -"\es\e": "σ" -"\e*6\e": "✶" -"\esc\e": "∘" -"\espace\e": "␣" -"\espc\e": "\\[SpaceKey]" -"\esfa\e": "⋮" -"\esfb\e": "⋱" -"\esfl\e": "⋯" -"\esqrt\e": "√" -"\esq\e": "▫" -"\estar\e": "⋆" -"\esti\e": "ϛ" -"\esub\e": "⊂" -"\esub=\e": "⊆" -"\est\e": "∍" -"\esum\e": "∑" -"\esup\e": "⊃" -"\esup=\e": "⊇" -"\etv\e": "ť" -"\etab\e": "\\[TabKey]" -"\et\e": "τ" -"\etf\e": "∴" -"\eth\e": "θ" -"\ethn\e": "þ" -"\e~\e": "∼" -"\e~=\e": "≃" -"\e~==\e": "≅" -"\e~~\e": "≈" -"\e*\e": "×" -"\etm\e": "™" -"\etr\e": "ᵀ" -"\eu'\e": "ú" -"\eu''\e": "ű" -"\eu\"\e": "ü" -"\eu`\e": "ù" -"\eu^\e": "û" -"\euo\e": "ů" -"\eu{\e": "︸" -"\eu[\e": "⎵" -"\eu(\e": "︶" -"\eue\e": "↔" -"\eun\e": "⋃" -"\euT\e": "⊥" -"\eu\e": "υ" -"\ev\e": "⋁" -"\e |\e": "❘" -"\evline\e": "│" -"\e|\e": "\\[VerticalSeparator]" -"\e^\e": "⋀" -"\ewp\e": "℘" -"\ewf\e": "\\[Wolf]" -"\ex\e": "ξ" -"\exnor\e": "\\[Xnor]" -"\exor\e": "⊻" -"\ey'\e": "ý" -"\ey\"\e": "ÿ" -"\ezv\e": "ž" -"\ez\e": "ζ" +# Autogenerated from mathics_scanner.generate.rl_inputrc on Sun Apr 19 07:52:57 AM EDT 2026 diff --git a/mathicsscript/data/inputrc-unicode b/mathicsscript/data/inputrc-unicode index 50ab09f..880c4b3 100644 --- a/mathicsscript/data/inputrc-unicode +++ b/mathicsscript/data/inputrc-unicode @@ -1,726 +1,2 @@ # GNU Readline input unicode translations -# Autogenerated from mathics_scanner.generate.rl_inputrc on Sun Mar 1 03:40:18 PM EST 2026 - -"\ea'\e": "á" -"\ea-\e": "ā" -"\eau\e": "ă" -"\ea\"\e": "ä" -"\eae\e": "æ" -"\ea`\e": "à" -"\ea^\e": "â" -"\eao\e": "å" -"\ea~\e": "ã" -"\eal\e": "ℵ" -"\eesc\e": "\\[AliasIndicator]" -"\eam\e": "\\[AlignmentMarker]" -"\ea\e": "α" -"\ealt\e": "\\[AltKey]" -"\e&&\e": "∧" -"\eAng\e": "Å" -"\e\\\e": "∖" -"\ebe\e": "ℶ" -"\eb\e": "β" -"\ebv\e": "˘" -"\ebu\e": "•" -"\ec'\e": "ć" -"\ec\e": "ç" -"\ecv\e": "č" -"\eA'\e": "Á" -"\eA-\e": "Ā" -"\eAu\e": "Ă" -"\eA\"\e": "Ä" -"\eAE\e": "Æ" -"\eA`\e": "À" -"\eA^\e": "Â" -"\eAo\e": "Å" -"\eA~\e": "Ã" -"\eA\e": "Α" -"\eB\e": "Β" -"\eC'\e": "Ć" -"\eC\e": "Ç" -"\eCv\e": "Č" -"\eCh\e": "Χ" -"\eDv\e": "Ď" -"\eD\e": "Δ" -"\eDD\e": "ⅅ" -"\eDi\e": "Ϝ" -"\eE'\e": "É" -"\eE-\e": "Ē" -"\eEu\e": "Ĕ" -"\eE\"\e": "Ë" -"\eE`\e": "È" -"\eEv\e": "Ě" -"\eE^\e": "Ê" -"\eE\e": "Ε" -"\eEt\e": "Η" -"\eD-\e": "Ð" -"\eG\e": "Γ" -"\eI'\e": "Í" -"\eIu\e": "Ĭ" -"\eI\"\e": "Ï" -"\eI`\e": "Ì" -"\eI^\e": "Î" -"\eI\e": "Ι" -"\eK\e": "Κ" -"\eKo\e": "Ϟ" -"\eL/\e": "Ł" -"\eL\e": "Λ" -"\eM\e": "Μ" -"\eNv\e": "Ň" -"\eN~\e": "Ñ" -"\eN\e": "Ν" -"\eO'\e": "Ó" -"\eO''\e": "Ő" -"\eO\"\e": "Ö" -"\eOE\e": "Œ" -"\eO`\e": "Ò" -"\eO^\e": "Ô" -"\eO/\e": "Ø" -"\eO~\e": "Õ" -"\eO\e": "Ω" -"\eOm\e": "Ο" -"\ePh\e": "Φ" -"\eP\e": "Π" -"\ePs\e": "Ψ" -"\eRv\e": "Ř" -"\eR\e": "Ρ" -"\eSv\e": "Š" -"\eSa\e": "Ϡ" -"\eS\e": "Σ" -"\eSti\e": "Ϛ" -"\eTv\e": "Ť" -"\eT\e": "Τ" -"\eTh\e": "Θ" -"\eThn\e": "Þ" -"\eU'\e": "Ú" -"\eU''\e": "Ű" -"\eU\"\e": "Ü" -"\eU`\e": "Ù" -"\eU^\e": "Û" -"\eUo\e": "Ů" -"\eU\e": "Υ" -"\eX\e": "Ξ" -"\eY'\e": "Ý" -"\eZv\e": "Ž" -"\eZ\e": "Ζ" -"\ecd\e": "¸" -"\ecent\e": "¢" -"\e.\e": "·" -"\ech\e": "χ" -"\ec.\e": "⊙" -"\ec-\e": "⊖" -"\ec+\e": "⊕" -"\ec*\e": "⊗" -"\eccint\e": "∲" -"\e]\"\e": "”" -"\e]'\e": "’" -"\ecl\e": "⌘" -"\e:\e": "∶" -"\ecmd\e": "⌘" -"\e===\e": "≡" -"\eco\e": "\\[Conjugate]" -"\ect\e": "\\[ConjugateTranspose]" -"\ecc\e": "𝕔" -"\econt\e": "⋱" -"\ecint\e": "∮" -"\ectrl\e": "\\[ControlKey]" -"\ecoprod\e": "∐" -"\ecccint\e": "∳" -"\ecross\e": "⨯" -"\ecU\e": "ϒ" -"\ece\e": "ε" -"\eck\e": "ϰ" -"\ej\e": "φ" -"\ecp\e": "ϖ" -"\ecr\e": "ϱ" -"\ecq\e": "ϑ" -"\edv\e": "ď" -"\edg\e": "†" -"\eda\e": "ℸ" -"\e-\e": "–" -"\edeg\e": "°" -"\edel\e": "∇" -"\e del\e": "\\[DeleteKey]" -"\ed\e": "δ" -"\edia\e": "⋄" -"\ediffd\e": "∆" -"\edd\e": "𝑑" -"\edi\e": "ϝ" -"\ede\e": "⇴" -"\edratio\e": "ϴ" -"\eshift\e": "\\[DiscreteShift]" -"\edhy\e": "\\[DiscretionaryHyphen]" -"\edlsep\e": "\\[DiscretionaryLineSeparator]" -"\edpba\e": "\\[DiscretionaryPageBreakAbove]" -"\edpbb\e": "\\[DiscretionaryPageBreakBelow]" -"\edpsep\e": "\\[DiscretionaryParagraphSeparator]" -"\ediv\e": "÷" -"\edivides\e": "∣" -"\e.=\e": "≐" -"\eddg\e": "‡" -"\e <=\e": "⇐" -"\e<=>\e": "⇔" -"\e<==\e": "⟸" -"\e<==>\e": "⟺" -"\e==>\e": "⟹" -"\e''\e": "″" -"\e =>\e": "⇒" -"\edsa\e": "𝕒" -"\edsb\e": "𝕓" -"\edsc\e": "𝕔" -"\edsA\e": "𝔸" -"\edsB\e": "𝔹" -"\edsC\e": "ℂ" -"\edsD\e": "𝔻" -"\edsE\e": "𝔼" -"\edsF\e": "𝔽" -"\edsG\e": "𝔾" -"\edsH\e": "ℍ" -"\edsI\e": "𝕀" -"\edsJ\e": "𝕁" -"\edsK\e": "𝕂" -"\edsL\e": "𝕃" -"\edsM\e": "𝕄" -"\edsN\e": "ℕ" -"\edsO\e": "𝕆" -"\edsP\e": "ℙ" -"\edsQ\e": "ℚ" -"\edsR\e": "ℝ" -"\edsS\e": "𝕊" -"\edsT\e": "𝕋" -"\edsU\e": "𝕌" -"\edsV\e": "𝕍" -"\edsW\e": "𝕎" -"\edsX\e": "𝕏" -"\edsY\e": "𝕐" -"\edsZ\e": "ℤ" -"\edsd\e": "𝕕" -"\edse\e": "𝕖" -"\eds8\e": "𝟠" -"\edsf\e": "𝕗" -"\eds5\e": "𝟝" -"\eds4\e": "𝟜" -"\edsg\e": "𝕘" -"\edsh\e": "𝕙" -"\edsi\e": "𝕚" -"\edsj\e": "𝕛" -"\edsk\e": "𝕜" -"\edsl\e": "𝕝" -"\edsm\e": "𝕞" -"\edsn\e": "𝕟" -"\eds9\e": "𝟡" -"\edso\e": "𝕠" -"\eds1\e": "𝟙" -"\edsp\e": "𝕡" -"\edsq\e": "𝕢" -"\edsr\e": "𝕣" -"\edss\e": "𝕤" -"\eds7\e": "𝟟" -"\eds6\e": "𝟞" -"\edst\e": "𝕥" -"\eds3\e": "𝟛" -"\eds2\e": "𝟚" -"\edsu\e": "𝕦" -"\edsv\e": "𝕧" -"\edsw\e": "𝕨" -"\edsx\e": "𝕩" -"\edsy\e": "𝕪" -"\edsz\e": "𝕫" -"\eds0\e": "𝟘" -"\e ||\e": "∥" -"\egg\e": "ℽ" -"\epp\e": "ℼ" -"\edbv\e": " ̑" -"\ed!\e": "¡" -"\ed?\e": "¿" -"\edT\e": "⊤" -"\ee'\e": "é" -"\ee-\e": "ē" -"\eeu\e": "ĕ" -"\ee\"\e": "ë" -"\ee`\e": "è" -"\eev\e": "ě" -"\ee^\e": "ê" -"\eel\e": "∈" -"\e...\e": "…" -"\eeci\e": "○" -"\ees\e": "∅" -"\eesci\e": "◦" -"\eessq\e": "◻" -"\eesq\e": "□" -"\eevssq\e": "▫" -"\eent\e": "\\[EnterKey]" -"\ee\e": "ϵ" -"\e==\e": "⩵" -"\e=~\e": "≂" -"\eequi\e": "⇌" -"\eequiv\e": "⧦" -"\e esc\e": "\\[EscapeKey]" -"\eet\e": "η" -"\ed-\e": "ð" -"\eex\e": "∃" -"\eee\e": "ⅇ" -"\efci\e": "●" -"\efsci\e": "•" -"\efssq\e": "◼" -"\efsq\e": "■" -"\efvssq\e": "▪" -"\efs\e": "ς" -"\e*5\e": "★" -"\efa\e": "∀" -"\e.a\e": "ạ" -"\e.Alpha\e": "α̣" -"\e.b\e": "ḅ" -"\e.Beta\e": "β̣" -"\e.c\e": "c̣" -"\e.A\e": "Ạ" -"\e.CapitalAlpha\e": "Α̣" -"\e.B\e": "Ḅ" -"\e.CapitalBeta\e": "Β̣" -"\e.C\e": "C̣" -"\e.CapitalChi\e": "Χ̣" -"\e.D\e": "Ḍ" -"\e.CapitalDelta\e": "Δ̣" -"\e.CapitalDigamma\e": "Ϝ̣" -"\e.E\e": "Ẹ" -"\e.CapitalEpsilon\e": "Ε̣" -"\e.CapitalEta\e": "Η̣" -"\e.F\e": "F̣" -"\e.G\e": "G̣" -"\e.CapitalGamma\e": "Γ" -"\e.H\e": "Ḥ" -"\e.I\e": "Ị" -"\e.CapitalIota\e": "Ι̣" -"\e.J\e": "J̣" -"\e.K\e": "Ḳ" -"\e.CapitalKappa\e": "Κ̣" -"\e.CapitalKoppa\e": "Ϟ̣" -"\e.L\e": "Ḷ" -"\e.CapitalLambda\e": "Λ̣" -"\e.M\e": "Ṃ" -"\e.CapitalMu\e": "Μ̣" -"\e.N\e": "Ṇ" -"\e.CapitalNu\e": "Ν̣" -"\e.O\e": "Ọ" -"\e.CapitalOmega\e": "Ω̣" -"\e.CapitalOmicron\e": "Ο̣" -"\e.P\e": "P̣" -"\e.CapitalPhi\e": "Φ̣" -"\e.CapitalPi\e": "Π̣" -"\e.CapitalPsi\e": "Ψ̣" -"\e.Q\e": "Q̣" -"\e.R\e": "Ṛ" -"\e.CapitalRho\e": "Ρ̣" -"\e.S\e": "Ṣ" -"\e.CapitalSampi\e": "Ϡ̣" -"\e.CapitalSigma\e": "Σ̣" -"\e.CapitalStigma\e": "Ϛ̣" -"\e.T\e": "Ṭ" -"\e.CapitalTau\e": "Τ̣" -"\e.CapitalTheta\e": "Θ" -"\e.U\e": "Ụ" -"\e.CapitalUpsilon\e": "Υ̣" -"\e.V\e": "Ṿ" -"\e.W\e": "Ẉ" -"\e.X\e": "X̣" -"\e.CapitalXi\e": "Ξ̣" -"\e.Y\e": "Ỵ" -"\e.Z\e": "Ẓ" -"\e.CapitalZeta\e": "Ζ̣" -"\e.Chi\e": "χ̣" -"\e.CurlyCapitalUpsilon\e": "ϒ̣" -"\e.CurlyEpsilon\e": "ε̣" -"\e.CurlyKappa\e": "ϰ̣" -"\e.CurlyPhi\e": "φ̣" -"\e.CurlyPi\e": "ϖ̣" -"\e.CurlyRho\e": "ϱ̣" -"\e.CurlyTheta\e": "ϑ̣" -"\e.d\e": "ḍ" -"\e.Delta\e": "δ̣" -"\e.Digamma\e": "ϝ" -"\e.e\e": "ẹ" -"\e.Epsilon\e": "ϵ̣" -"\e.Eta\e": "η̣" -"\e.f\e": "f̣" -"\e.FinalSigma\e": "ς̣" -"\e.g\e": "g̣" -"\e.Gamma\e": "γ̣" -"\e.h\e": "ḥ" -"\e.i\e": "ị" -"\e.Iota\e": "Ι̣" -"\e.j\e": "j̣" -"\e.k\e": "ḳ" -"\e.Kappa\e": "κ̣" -"\e.Koppa\e": "ϟ̣" -"\e.l\e": "ḷ" -"\e.Lambda\e": "λ̣" -"\e.m\e": "ṃ" -"\e.Mu\e": "μ̣" -"\e.n\e": "ṇ" -"\e.Nu\e": "ν̣" -"\e.o\e": "ọ" -"\e.Omega\e": "ω̣" -"\e.Omicron\e": "ο̣" -"\e.p\e": "p̣" -"\e.Phi\e": "ϕ̣" -"\e.Pi\e": "π̣" -"\e.Psi\e": "ψ̣" -"\e.q\e": "q̣" -"\e.r\e": "ṛ" -"\e.Rho\e": "ρ̣" -"\e.s\e": "ṣ" -"\e.Sampi\e": "ϡ̣" -"\e.Sigma\e": "σ̣" -"\e.Stigma\e": "ϛ" -"\e.t\e": "ṭ" -"\e.Tau\e": "τ̣" -"\e.Theta\e": "θ̣" -"\e.u\e": "ụ" -"\e.Upsilon\e": "υ̣" -"\e.v\e": "ṿ" -"\e.w\e": "ẉ" -"\e.x\e": "x̣" -"\e.Xi\e": "ξ̣" -"\e.y\e": "ỵ" -"\e.z\e": "ẓ" -"\e.Zeta\e": "ζ̣" -"\e:-@\e": "\\[FreakedSmiley]" -"\eg\e": "γ" -"\egi\e": "ℷ" -"\egoa\e": "𝔞" -"\egob\e": "𝔟" -"\egoc\e": "𝔠" -"\egoA\e": "𝔄" -"\egoB\e": "𝔅" -"\egoC\e": "ℭ" -"\egoD\e": "𝔇" -"\egoE\e": "𝔈" -"\egoF\e": "𝔉" -"\egoG\e": "𝔊" -"\egoH\e": "ℌ" -"\egoI\e": "ℑ" -"\egoJ\e": "𝔍" -"\egoK\e": "𝔎" -"\egoL\e": "𝔏" -"\egoM\e": "𝔐" -"\egoN\e": "𝔑" -"\egoO\e": "𝔒" -"\egoP\e": "𝔓" -"\egoQ\e": "𝔔" -"\egoR\e": "ℜ" -"\egoS\e": "𝔖" -"\egoT\e": "𝔗" -"\egoU\e": "𝔘" -"\egoV\e": "𝔙" -"\egoW\e": "𝔚" -"\egoX\e": "𝔛" -"\egoY\e": "𝔜" -"\egoZ\e": "ℨ" -"\egod\e": "𝔡" -"\egoe\e": "𝔢" -"\ego8\e": "\\[GothicEight]" -"\egof\e": "𝔣" -"\ego5\e": "\\[GothicFive]" -"\ego4\e": "\\[GothicFour]" -"\egog\e": "𝔤" -"\egoh\e": "𝔥" -"\egoi\e": "𝔦" -"\egoj\e": "𝔧" -"\egok\e": "𝔨" -"\egol\e": "𝔩" -"\egom\e": "𝔪" -"\egon\e": "𝔫" -"\ego9\e": "\\[GothicNine]" -"\egoo\e": "𝔬" -"\ego1\e": "\\[GothicOne]" -"\egop\e": "𝔭" -"\egoq\e": "𝔮" -"\egor\e": "𝔯" -"\egos\e": "𝔰" -"\ego7\e": "\\[GothicSeven]" -"\ego6\e": "\\[GothicSix]" -"\egot\e": "𝔱" -"\ego3\e": "\\[GothicThree]" -"\ego2\e": "\\[GothicTwo]" -"\egou\e": "𝔲" -"\egov\e": "𝔳" -"\egow\e": "𝔴" -"\egox\e": "𝔵" -"\egoy\e": "𝔶" -"\egoz\e": "𝔷" -"\ego0\e": "\\[GothicZero]" -"\egci\e": "●" -"\egsq\e": "■" -"\e>=\e": "≥" -"\e>/\e": "⩾" -"\e>~\e": "≳" -"\ehb\e": "ℏ" -"\ehck\e": "ˇ" -"\e:)\e": "☺" -"\ehc\e": "⊹" -"\ehline\e": "─" -"\eh=\e": "≏" -"\ehy\e": "‐" -"\ei'\e": "í" -"\eiu\e": "ĭ" -"\ei\"\e": "ï" -"\ei`\e": "ì" -"\ei^\e": "î" -"\eii\e": "ⅈ" -"\ejj\e": "ⅉ" -"\e+\e": "⁤" -"\e=>\e": "⇒" -"\enl\e": "\n" -"\einf\e": "∞" -"\eint\e": "∫" -"\einter\e": "⋂" -"\e@\e": "" -"\e-i\e": "" -"\ei-\e": "" -"\eis\e": "" -"\ei\e": "ι" -"\ek\e": "κ" -"\eko\e": "ϟ" -"\el/\e": "ł" -"\el\e": "λ" -"\e<\e": "〈" -"\e<-\e": "←" -"\e<|\e": "\\[LeftAssociation]" -"\el|\e": "|" -"\elc\e": "⌈" -"\e[[\e": "〚" -"\el||\e": "‖" -"\elf\e": "⌊" -"\eg<<\e": "«" -"\e[\e": "\\[LeftModified]" -"\e<->\e": "↔" -"\elT\e": "⊣" -"\e<=\e": "≤" -"\e\e": "⟷" -"\e-->\e": "⟶" -"\eMlim\e": "\\[MaxLimit]" -"\emath\e": "\\[MathematicaIcon]" -"\emho\e": "℧" -"\emi\e": "µ" -"\emlim\e": "lim" -"\e-+\e": "∓" -"\em\e": "μ" -"\env\e": "ň" -"\en~\e": "ñ" -"\enand\e": "⊼" -"\e- \e": "\\[NegativeMediumSpace]" -"\e- \e": "\\[NegativeThickSpace]" -"\e- \e": "\\[NegativeThinSpace]" -"\e- \e": "\\[NegativeVeryThinSpace]" -"\e:-|\e": "\\[NeutralSmiley]" -"\enb\e": "\\[NoBreak]" -"\enbs\e": "\\[NonBreakingSpace]" -"\enor\e": "⊽" -"\e!\e": "¬" -"\e!===\e": "≢" -"\e!||\e": "∦" -"\e!el\e": "∉" -"\e!=\e": "≠" -"\e!=~\e": "\\[NotEqualTilde]" -"\e!ex\e": "∄" -"\e!>\e": "≯" -"\e!>=\e": "≱" -"\e!>/\e": "\\[NotGreaterSlantEqual]" -"\e!>~\e": "≵" -"\e!h=\e": "\\[NotHumpEqual]" -"\e!<\e": "≮" -"\e!<=\e": "≰" -"\e!\e": "〉" -"\e ->\e": "→" -"\e|>\e": "\\[RightAssociation]" -"\er|\e": "|" -"\erc\e": "⌉" -"\e]]\e": "〛" -"\erf\e": "⌋" -"\eg>>\e": "»" -"\e]\e": "\\[RightModified]" -"\erT\e": "⊢" -"\evec\e": "⇀" -"\e->\e": "⇾" -"\e:>\e": "⧴" -"\esv\e": "š" -"\esz\e": "ß" -"\e:-(\e": "☹" -"\esa\e": "ϡ" -"\esca\e": "𝒶" -"\escb\e": "𝒷" -"\escc\e": "𝒸" -"\escA\e": "𝒜" -"\escB\e": "ℬ" -"\escC\e": "𝒞" -"\escD\e": "𝒟" -"\escE\e": "ℰ" -"\escF\e": "ℱ" -"\escG\e": "𝒢" -"\escH\e": "ℋ" -"\escI\e": "ℐ" -"\escJ\e": "𝒥" -"\escK\e": "𝒦" -"\escL\e": "ℒ" -"\escM\e": "ℳ" -"\escN\e": "𝒩" -"\escO\e": "𝒪" -"\escP\e": "𝒫" -"\escQ\e": "𝒬" -"\escR\e": "ℛ" -"\escS\e": "𝒮" -"\escT\e": "𝒯" -"\escU\e": "𝒰" -"\escV\e": "𝒱" -"\escW\e": "𝒲" -"\escX\e": "𝒳" -"\escY\e": "𝒴" -"\escZ\e": "𝒵" -"\escd\e": "𝒹" -"\esce\e": "ℯ" -"\esc8\e": "\\[ScriptEight]" -"\escf\e": "𝒻" -"\esc5\e": "\\[ScriptFive]" -"\esc4\e": "\\[ScriptFour]" -"\escg\e": "ℊ" -"\esch\e": "𝒽" -"\esci\e": "𝒾" -"\escj\e": "𝒿" -"\esck\e": "𝓀" -"\escl\e": "ℓ" -"\escm\e": "𝓂" -"\escn\e": "𝓃" -"\esc9\e": "\\[ScriptNine]" -"\esco\e": "ℴ" -"\esc1\e": "\\[ScriptOne]" -"\escp\e": "𝓅" -"\escq\e": "𝓆" -"\escr\e": "𝓇" -"\escs\e": "𝓈" -"\esc7\e": "\\[ScriptSeven]" -"\esc6\e": "\\[ScriptSix]" -"\esct\e": "𝓉" -"\esc3\e": "\\[ScriptThree]" -"\esc2\e": "\\[ScriptTwo]" -"\escu\e": "𝓊" -"\escv\e": "𝓋" -"\escw\e": "𝓌" -"\escx\e": "𝓍" -"\escy\e": "𝓎" -"\escz\e": "𝓏" -"\esc0\e": "\\[ScriptZero]" -"\espl\e": "\\[SelectionPlaceholder]" -"\es\e": "σ" -"\e*6\e": "✶" -"\esc\e": "∘" -"\espace\e": "␣" -"\espc\e": "\\[SpaceKey]" -"\esfa\e": "⋮" -"\esfb\e": "⋱" -"\esfl\e": "⋯" -"\esqrt\e": "√" -"\esq\e": "▫" -"\estar\e": "⋆" -"\esti\e": "ϛ" -"\esub\e": "⊂" -"\esub=\e": "⊆" -"\est\e": "∍" -"\esum\e": "∑" -"\esup\e": "⊃" -"\esup=\e": "⊇" -"\etv\e": "ť" -"\etab\e": "\\[TabKey]" -"\et\e": "τ" -"\etf\e": "∴" -"\eth\e": "θ" -"\ethn\e": "þ" -"\e~\e": "∼" -"\e~=\e": "≃" -"\e~==\e": "≅" -"\e~~\e": "≈" -"\e*\e": "×" -"\etm\e": "™" -"\etr\e": "ᵀ" -"\eu'\e": "ú" -"\eu''\e": "ű" -"\eu\"\e": "ü" -"\eu`\e": "ù" -"\eu^\e": "û" -"\euo\e": "ů" -"\eu{\e": "︸" -"\eu[\e": "⎵" -"\eu(\e": "︶" -"\eue\e": "↔" -"\eun\e": "⋃" -"\euT\e": "⊥" -"\eu\e": "υ" -"\ev\e": "⋁" -"\e |\e": "❘" -"\evline\e": "│" -"\e|\e": "\\[VerticalSeparator]" -"\e^\e": "⋀" -"\ewp\e": "℘" -"\ewf\e": "\\[Wolf]" -"\ex\e": "ξ" -"\exnor\e": "\\[Xnor]" -"\exor\e": "⊻" -"\ey'\e": "ý" -"\ey\"\e": "ÿ" -"\ezv\e": "ž" -"\ez\e": "ζ" +# Autogenerated from mathics_scanner.generate.rl_inputrc on Sun Apr 19 07:52:57 AM EDT 2026 diff --git a/mathicsscript/version.py b/mathicsscript/version.py index 6e48629..34a121a 100644 --- a/mathicsscript/version.py +++ b/mathicsscript/version.py @@ -4,4 +4,4 @@ # well as importing into Python. That's why there is no # space around "=" below. # fmt: off -__version__="10.0.0.dev0" # noqa +__version__="10.0.0" # noqa diff --git a/pyproject.toml b/pyproject.toml index 06a2902..157bd17 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,16 +11,16 @@ build-backend = "setuptools.build_meta" name = "mathicsscript" description = "Command-line interface to Mathics3" dependencies = [ - "Mathics3_Scanner>9.0.0", - "Mathics3 > 9.0.0", + "Mathics3_Scanner>=10.0.0", + "Mathics3 >= 10.0.0", "click >= 8.0.0", "colorama", "columnize", "networkx", "prompt_toolkit>=3.0.18", "Pygments>=2.9.0", # Want something late enough that has the "inkpot" style - "Mathics3_pygments>9.0.0", - "term-background >= 1.0.1", + "Mathics3_pygments>=10.0.0", + "term-background >= 1.0.5", ] requires-python = ">=3.11" readme = "README.rst" @@ -64,6 +64,11 @@ full = [ [project.urls] Homepage = "https://mathics.org/" +[tool.setuptools] +packages = [ + "mathicsscript", +] + [tool.setuptools.package-data] "mathics_scanner" = [ "mathicsscript/data/inputrc-no-unicode", diff --git a/setup.py b/setup.py index b281c99..50972f7 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -"""Setuptools based setup script for Mathics. +"""Setuptools based setup script for Mathics3 Scanner. For the easiest installation just type the following command (you'll probably need root privileges): @@ -13,24 +13,44 @@ python setup.py --help install """ -from setuptools import setup, find_packages +import os +import os.path as osp +from setuptools import setup +from setuptools.command.build_py import build_py as setuptools_build_py + + +def get_srcdir(): + """Return the directory of the location if this code""" + filename = osp.normcase(osp.dirname(osp.abspath(__file__))) + return osp.realpath(filename) + + +class build_py(setuptools_build_py): + """ + The "run" method below of class gets invoked when setup.py is run through + setuptools. + + Here, we just invoke ./admin-tools/make-JSON-tables.sh. + """ + + def run(self): + """ + If you need to debug this, just extract this method, remove "self" above + and save it in a standalone Python file without the setuptools_build_py.run(self) + call below. + """ + srcdir = get_srcdir() + cmd = f"bash {osp.join(srcdir, 'admin-tools', 'make-JSON-tables.sh')}" + print(cmd) + os.system(cmd) + setuptools_build_py.run(self) + + +CMDCLASS = {"build_py": build_py} setup( - name="mathicsscript", - packages=find_packages(), - include_package_data=True, - package_data={ - "": [ - "mathicsscript/data/inputrc-no-unicode", - "mathicsscript/data/inputrc-unicode", - "mathicsscript/user-settings.m", - "mathicsscript/autoload/settings.m", - "mathicsscript/config.asy", - ] - }, - long_description_content_type="text/x-rst", - # don't pack Mathics in egg because of media files, etc. + cmdclass=CMDCLASS, # Set up to run build_py.run() + # don't pack Mathics3 an in egg because of media files, etc. zip_safe=False, - # TODO: could also include long_description, download_url, )