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
786 stars 48 forks source link

Custom format is more xml #1047

Closed rocky closed 4 months ago

rocky commented 4 months ago

Revise some comments/docstrings around "markdown".

The custom format was based on XML, not markdown and it more resembles that than it does markdown.

mmatera commented 4 months ago

@rocky, the custom format is not xml neither (xml does not supports LaTeX equations, or test cases). I called it "markdown" in the wide sense that is used in pandoc. In any case, if you think it is clearer to call it xml, then go ahead.

rocky commented 4 months ago

I never use the word "XML" without clarifying it. The thing that really bothered me was the use of markdown without any qualifier. XML is what it was based on - it has a lot of start and end tags. And one of the features of markdown is that it skips end tagging often in sectioning.