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

Integrate Mathics-native 'MakeBoxes' layout into TeXmacs as a plugin. #666

Open gtusr opened 1 year ago

gtusr commented 1 year ago

I would like to be able to load a Mathics notebook into TeXmacs and work with it in the native MakeBoxes format of Wolfram language notebooks instead of being forced to convert it to HTML/CSS or LaTeX first.

Will also post this request on TeXmacs mailing list as an idea for a new plugin.

rocky commented 1 year ago

There is currently a refactor going on of how MakeBoxes works, and it may be a while before this stabilizes. This kind of work would most naturally occur after that.

gtusr commented 1 year ago

Thanks for the update on MakeBoxes.

I'm also curious if there are any plans to implement the Mathematica MathLink protocol, or what is now called the Wolfram Language WSTP protocol,

What is the difference between MathLink and WSTP? Which one should I use?

in Mathics since it provides a uniform and well-designed way of communicating between the front-end (e.g., terminal, Jupyter, TeXmacs, ...), external platforms (e.g. Java, Python, R, ...) and the kernel?

Much of the Wolfram Language 'glue code' that connects the Mathematica kernel to various external platforms through WSTP is open source , so implementing WSTP could make it easier in the future to connect Mathics to various other external platforms as well.