Port details on branch 2022Q2 |
- py-mathics-pygments Lexer and highlighter for Mathematica/Wolfram Language source code
- 1.0.2 textproc =1 1.0.2Version of this port present on the latest quarterly branch.
- Maintainer: thierry@FreeBSD.org
- Port Added: 2021-06-06 20:30:18
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- People watching this port, also watch:: SparseBitSet, py39-cysignals, R-cran-eRm, python
- Also Listed In: math python
- License: MIT
- WWW:
- https://mathics.org/
- 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 U+1D70B (pi).
- 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
See also: https://github.com/Mathics3/mathics-pygments/
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}mathics_pygments>0:textproc/py-mathics-pygments@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/textproc/py-mathics-pygments/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/py-mathics-pygments
- pkg install py39-mathics_pygments
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-mathics_pygments listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-mathics_pygments
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1622913478
SHA256 (mathics_pygments-1.0.2.tar.gz) = 1ab9ca84896e841d9b07d5a3b28b82fb8db22e19f5f777bf0f7892cbc80bdb77
SIZE (mathics_pygments-1.0.2.tar.gz) = 51951
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-pygments>0 : textproc/py-pygments@py39
- py39-Mathics_Scanner>0 : math/py-mathics-scanner
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-pygments>0 : textproc/py-pygments@py39
- py39-Mathics_Scanner>0 : math/py-mathics-scanner
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Build
-
- math/mathicsscript
- for Run
-
- math/mathicsscript
Configuration Options:
- No options to configure
- Options name:
- textproc_py-mathics-pygments
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|