Mathematica/Wolfram Language Lexer for Pygments
Project description
This is the most up-to-date 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 like π 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 ∈ and ⊕.
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.
© 2016 rsmenon
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for pygments-mathematica-0.3.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ab413376231580ff42d47e4fc6542b09eac57468395afb763d4c9271664cadc |
|
MD5 | f75ace50d09decfc898fac4cc328d0e9 |
|
BLAKE2b-256 | d72b0ab5ead46fc477af90090e3f732c4cdfb2752b6f4558264184ef7bba6457 |