Rubi, mathics, python and jnil.

Dan Stanger <[email protected]> Sun, 3 May 2026 15:00:58 -0400
Newsgroups gmane.comp.mathematics.maxima.general
Message-ID <CAFyhtT40fpBiW-UGm=2cjb+BG2feB_s_X5qAP3TEFHd+fP32Og@mail.gmail.com>
Hello All,
About 22 years ago, there was a project jnil, which translated java into
lisp. It worked by loading java code into Eclipse and using JLinker, an ACL
tool to communicate with a lisp program which did the translation by
retrieving information about the java code to perform the translation.
Python has an abstract syntax tree (AST) module which provides similar
functionality to the Eclipse usage but can provide text output. Mathics is
a mathematica clone written in Python which has advanced enough to load
rubi. Using Antlr, an existing python grammar can produce a s expression
output of a concrete syntax tree. I am writing a grammar file for the
Python AST output which should enable a modified jnil to convert the
mathics pattern matching code into lisp, which should provide an easier
integration with Maxima.
Dan Stanger

_______________________________________________
Maxima-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maxima-discuss