Releases: Mathics3/mathicsscript
F-6
Word completion detection was improved slightly. Previously, a grouping opener like "[", "(", or "{" would prevent word completion.
ASCII to unicode conversion was disabled since it was flaky and turned === into
garbage upon seeing ==. Issue #38
In prompt-readline by default, inserting a "[", "(", or "{" will automatically insert the corresponding closing "]", ")", and "}".
Use f3 to toggle this behavoir.
The packaging of 3.0.0 omitted some Readline inputrc files, and a JSON operator table. Issue #37
A few other Python packaging problems were fixe.
We've separated prompt_readline functions into its own module separate from the common prompt readline functions
EB
The primary readline interface has been redone using the excellent prompt-toolkit.
This is pure Python code so it should be available everywhere.
We still include GNU-Readline for those situations where prompt-toolkit doesn't work. Select the readline style now with the
--choice option which can be one of GNU, Prompt, or None.
Prompt toolkit allows us to color input as it is getting typed. It also has nicer completion facilities, and sports a bottom modeline status bar.
There is still a bit of cleanup work to do to support GNU readline inputrc files better, or to handle completion better, but this will come later.
Independent of prompt-toolkit, there better pygments colorization using mathics-pygments. Expect that to improve over time too.
L-3
- There are now system setting and user settings. User settings take precedence over system settings.
- String output is now shown in quotes to make it more distinguishable from symbol and unexpanded
expressssion output. This does not follow howwolframscriptworks. Optionstrict-wl-outputwil
disable this. - Syntax and Highlighting is now done via the Python
mathics-pygments
package. I think you'll find colorization more complete and
useful. Expect more improvements as mathics-pygments improves. - Flag
--initfileis now--runto have better conformance withwolframscript. In the future we hope
to support support conformance withwolframif themathicsscript(or code underneath) is called
using the namemathics3.
Better Sunday
- Packaging changes. Make sure egg/wheel/tarball has settings.m and GNU Readline inputrc files package
- Bump minimum Mathics-Scanner version. There was a small subtle bug in infix Function operators in that
Rising
Note: more changes were needed - so don't use this.
Administrative changes but necessary to get this working properly:
- Bump min version of mathicsscanner. There was a bug in mathicsscanner that prevented
the GNU Readline inputrc files from getting created properly. - Include settings.m in distribution. There was a typo in setup.py for location of this file.
Good Saturday
Note: Pleaes use 2.1.2 or greater. Ther was a slight problem with packaging in this release.
- Allow command-line flag
-cas an alias for--execute(along with-eto be compatible with wolframscript - Better compliance on Windows which are GNU readline-starved
- Better unicode detection
- Accept newer mathics-scanner and Mathics3 versions
2.0.1
2.0.0 Valentine gift
- All escape sequence for unicode and letter names added for GNU Readline
- Use Mathics Scanner package
- Support XDG-style configuration files
1.2.0 Release Candidate 1
- All escape sequence for unicode and letter names added for GNU Readline
- Use Mathics Scanner package
- Support XDG-style configuration files
Release 1.1.2
- Fix
Settings`$ShowFullFormnow that we use Mathics supports Booleans better - Show mathicsscript version on startup
- Add
Settings`MathicsScriptVersion - Add all of the WL escape sequences
- Add conversions from WL Unicode to standard Unicode
- Shell escapes
!and!!added
Incompatible changes:
-e--executeis better suited for embedded use. It adds--quietand shows just evaluation output as text