Mathematica/Wolfram Language Lexer for Pygments
Project description
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 π.
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 Rocky Bernstein (C) 2016 rsmenon
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for mathics_pygments-1.0.0-rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fd9398e8534941d9bb3ec7fbf6825430b7424ea7311305693a5c16d0c97930b |
|
MD5 | 2b6c378c6492718d6d85c1200c80895f |
|
BLAKE2b-256 | 27a055f14522b51d13a2b87f64b41d064127e90b2ab8d204c8fd9c8bd51a24d5 |
Hashes for mathics_pygments-1.0.0-rc1-py3.9.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f9aa051a30ee09151742d6bd5b248c0552cac16c7f85f2505fbc05c52319de6 |
|
MD5 | 85f2f896d3d37a0dbb110acfdce93a44 |
|
BLAKE2b-256 | ced271f0345165ec3f6fa9c50fd236716284e7a60e16152b0b0841137fe26c41 |
Hashes for mathics_pygments-1.0.0-rc1-py3.8.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf644135564791c3b4ac441aa7d42a5d1c27e50a8c4b81b62fdf9674b90bb7d3 |
|
MD5 | 590ff52bcfe93334e43180dff59cac0b |
|
BLAKE2b-256 | 84910b764a5a7afbb9045c23df5d7008c47ae96f1d869d429d3bc65eda140584 |
Hashes for mathics_pygments-1.0.0-rc1-py3.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ee5a35884b7f48f71e4a52ce0bd8ba4c2d1d7644c1e937a87ed06abaa673e2b |
|
MD5 | f0f967c6ecde63ab6c51f3cb6dd3185e |
|
BLAKE2b-256 | 2ff254c85c04922800a01d4d5854b5b5acfd64b0050b1d261c0a39674539e787 |
Hashes for mathics_pygments-1.0.0-rc1-py3.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8162fa177d7a39e9145778ac054ec55a6a6106aaf3c77bae734607b2c49fb608 |
|
MD5 | d395d9f1c314a8c3af6217bbef77e8e0 |
|
BLAKE2b-256 | 51f572a3467aa995767669e2b74d92b21e30f4e08ab46e687b01365a0fd1ed66 |