LaTeX to CAS translator

Jump to navigation Jump to search

This mockup demonstrates the concept of TeX to Computer Algebra System (CAS) conversion.

The demo-application converts LaTeX functions which directly translate to CAS counterparts.

Functions without explicit CAS support are available for translation via a DRMF package (under development).

The following LaTeX input ...

{\displaystyle \tilde a=-\frac14, \tilde b=0, \tilde c=a+\frac12}

... is translated to the CAS output ...

Semantic latex: \tilde a=-\frac14, \tilde b=0, \tilde c=a+\frac12

Confidence: 0

Mathematica

Translation:

Information

Symbol info

  • (LaTeX -> Mathematica) No translation possible for given token: Accents are not supported.

Tests

Symbolic
Numeric

SymPy

Translation:

Information

Symbol info

  • (LaTeX -> SymPy) No translation possible for given token: Accents are not supported.

Tests

Symbolic
Numeric

Maple

Translation:

Information

Symbol info

  • (LaTeX -> Maple) No translation possible for given token: Accents are not supported.

Tests

Symbolic
Numeric

Dependency Graph Information

Includes

Complete translation information:

{
  "id" : "FORMULA_9107b0bb12b7d776363ac412e1febb6b",
  "formula" : "\\tilde a=-\\frac14, \\tilde b=0, \\tilde c=a+\\frac12",
  "semanticFormula" : "\\tilde a=-\\frac14, \\tilde b=0, \\tilde c=a+\\frac12",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Mathematica) No translation possible for given token: Accents are not supported."
        }
      }
    },
    "SymPy" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> SymPy) No translation possible for given token: Accents are not supported."
        }
      }
    },
    "Maple" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Maple) No translation possible for given token: Accents are not supported."
        }
      }
    }
  },
  "positions" : [ {
    "section" : 1,
    "sentence" : 9,
    "word" : 4
  } ],
  "includes" : [ "a" ],
  "isPartOf" : [ ],
  "definiens" : [ ]
}

Specify your own input