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
Release files for mathics-pygments 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mathics_pygments-1.0.4.tar.gz | 57.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mathics_pygments-1.0.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 104.4 kB
Release files / mathics_pygments-1.0.4.tar.gz
| Download URL | mathics_pygments-1.0.4.tar.gz |
|---|---|
| Size | 57.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
694a2fdaf61eb60068f3dc83385a5eedb2ce9c0444b73603e8d20387586c4fc5
|
|
BLAKE2b-256 checksum How to use checksums |
6411d0c99863e949090a0f167213e3b0e9d8f487f09c215fb9b36a3b06507ebd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.1
|
Release files / mathics_pygments-1.0.4-py2.py3-none-any.whl
| Download URL | mathics_pygments-1.0.4-py2.py3-none-any.whl |
|---|---|
| Size | 46.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
bb6af332d387f1983092ebdb9f26d203f2ddc2944a5f6e8ab84ca3e5bfee3ce8
|
|
BLAKE2b-256 checksum How to use checksums |
81572423061094e1cffa72c36fb6de951f50a54f47f4023fc368b44897bd53e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.1
|