Pygments 1C (BSL, SDBL) lexer
Project description
pygments-bsl
Pygments is a syntax highlighting tool.
Online example MkDocs with pygments-bsl support https://zeegin.github.io/pygments-bsl/
pygments-bsl used in:
Syntax rules adopted from https://github.com/1c-syntax.
Install
$ pip install pygments-bsl
Install local
pip install .
Build
python -m build
Test
pytest
Generate lexer data from JSON (after updating files in 3rd_party/)
python tools/generate_data.py
Usage
pygmentize "C:\git\pygments-bsl\tests\examplefiles\bsl\samples.bsl"
pygmentize "C:\git\pygments-bsl\tests\examplefiles\bsl\samples.os"
pygmentize "C:\git\pygments-bsl\tests\examplefiles\sdbl\samples.sdbl"
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
pygments_bsl-0.16.1.tar.gz
(59.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pygments_bsl-0.16.1.tar.gz.
File metadata
- Download URL: pygments_bsl-0.16.1.tar.gz
- Upload date:
- Size: 59.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46a3e97033404549f3929307d459209aa062b86baa28ba5913648c9d0772d66c
|
|
| MD5 |
21de26677cd232ecde1e227ed096417e
|
|
| BLAKE2b-256 |
a6e2f785777db70337b24dc7432a6223bf7d4cd86237f97a90214751ac0fb1e2
|
File details
Details for the file pygments_bsl-0.16.1-py3-none-any.whl.
File metadata
- Download URL: pygments_bsl-0.16.1-py3-none-any.whl
- Upload date:
- Size: 59.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c2c30abec962d7d9cd557b378dbd2ec9ac143dc82b58c6e1ecf30569fd34353
|
|
| MD5 |
eaf05058b3b34841f2952f4112339e2b
|
|
| BLAKE2b-256 |
e1bdc5b3d853ba84b6656a976b21b6f57ce88cac4bcfe3773948a75ded8129b0
|