Skip to content

Adds syntax highlighting for SageMath!

License

Notifications You must be signed in to change notification settings

PTK12/MagicSage

 
 

Repository files navigation

MagicSage

Want SageMath syntax highlighting? Look no further!

MagicSage adds SageMath support to MagicPython ❤️.

NOTE: MagicSage is an unofficial implementation of MagicPython for SageMath.

Comparison between MagicSage (left) vs MagicPython (right): Comparison between syntax highlighting on a SageMath script.

Theme: Tokyo Night Storm

Differences:

  • Raw numbers
  • sage: and ....: prompts
  • Sage ellipsis
  • ^^ as a logical operator
  • ^ as an arithmetic operator
  • \ as an arithmetic operator!!

For information about Python, see the original page.

Problems

Implicit multiplication is currently unsupported. MagicSage currently does not have extensions set up for VS Code, Atom or Sublime Text.

Packages

No packages published

Languages

  • JavaScript 66.1%
  • Python 32.9%
  • Other 1.0%