🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

mathics-pygments

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mathics-pygments

Mathematica/Wolfram Language Lexer for Pygments

pipPyPI
Version
1.0.4
Maintainers
1

This is a lexer and highlighter for Mathematica/Wolfram Language source code
using the pygments engine.

It currently supports:

  • All builtin functions in the System context including unicode symbols except those that use characters from the private unicode space (e.g. \[FormalA]).
  • User defined symbols, including those in a context.
  • All operators including unicode operators like \u03C0.
  • Comments, including multi line and nested.
  • Strings, including multi line and escaped quotes.
  • Patterns, slots (including named slots #name introduced in version 10) and slot sequences.
  • Message names (e.g. the ivar in General::ivar)
  • Numbers including base notation (e.g. 8 ^^ 23 == 19) and scientific notation (e.g. 1 *^ 3 == 1000).
  • Local variables in Block, With and Module.

A Sass file containing the styles can be obtained from the package repository for use in static
website generators such as Jekyll, Octopress, Pelican, etc.

Copyright 2021, 2024 Rocky Bernstein (C) 2016 rsmenon

Keywords

syntax highlighting mathematica

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts