Mathics3 / mathics-core

An open-source Mathematica. This repository contains the Python modules for WL Built-in functions, variables, core primitives, e.g. Symbol, a parser to create Expressions, and an evaluator to execute them.
https://mathics.org
Other
786 stars 48 forks source link

Add SetEnviroment, go over GetEnvironment... #1071

Closed rocky closed 3 months ago

rocky commented 3 months ago

GetEnvironment: add empty list and named list forms.

mathics/__init__.py: attempt to limit imports of big packages sympy, numpy and mpmath

Go over doctests for each of these.

rocky commented 3 months ago

Thanks. I was planning on using Environment variables more for some work in adding debugging. Probably not strictly necessary, but nice to have.

I'll go over this in more detail tomorrow.