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
782 stars 48 forks source link

`ReadList[]` refactor #1093

Closed rocky closed 2 months ago

rocky commented 2 months ago

Move builtin/read.py -> eval/files_io/read.py and start to handle TokenWords. Add more systemsymbols, Add a proper error message for TokenWord option processing

I come at this in trying to get lisp.mathics working.

rocky commented 2 months ago

What remains is updating pytests and doctests. I will be doing that next. But this is getting rather large so we should consider merging and iterating.

mmatera commented 2 months ago

@rocky, thanks for the work. When you feel it is ready, let's merge and iterate.