Mathics3 / mathicsscript

Terminal CLI to Mathics3
GNU General Public License v3.0
52 stars 7 forks source link

Settings.m assigment failures, e.g. Settings`$S #69

Open rocky opened 1 year ago

rocky commented 1 year ago

Consider:

$ mathicsscript
Set::setraw: Cannot assign to raw object inkpot.

Mathicscript: 5.1.0.dev0, Mathics 5.0.3dev0
...

Investigating a little shows that autoloading mathicsscript/mathicsscript/autoload/settings.m fails in settings assignment.

In particular

Settings`$PygmentsStyle::usage = "This variable..."

when autoloaded produces:

Set::setraw: Cannot assign to raw object inkpot.

Note that "inkpot" is the the value of Settings`$PygmentsStyle.

rocky commented 1 year ago

@mmatera is this related to assignment changes? Order of loading changes? Change in the way mathicsscript sets a value for Settings`$PygmentsStyle?