Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

rbtr-lang-less

Less support for rbtr. Optional plugin — install with pip install rbtr[less].

What it ingests

Less extends CSS with the Less preprocessor constructs. Definitions map onto rbtr's capture conventions by shape:

  • Variables — @-prefixed declarations (@primary: #333;).
  • Routines — .mixin() definitions → functions. Mixin calls are references, not definitions, and are skipped.
  • Rule sets & at-rule blocks — selectors, @media, @keyframes → classes (a named collection of declarations).
  • Directives — @charset → config key.
  • Imports — @import → imports (for cross-file edges).

Chunks produced

name is the declaration/selector; scope is the ancestor rule-set selectors for a nested rule (CSS-family nesting), else empty.

@primary: #333;                /* variable "@primary"                 */
.rounded(@r) { … }             /* function "rounded"                  */
.btn { … }                     /* class ".btn"                        */
@keyframes slide { … }         /* class "slide"                       */
@import "reset";               /* import, metadata {module: "reset"}  */

Embedded / injected chunks

None. Less does not embed other languages.

Grammar & dependencies

Uses the tree-sitter-less grammar. Depends on rbtr-lang-css — it reuses that plugin's public css_nesting_scope helper for CSS-family rule nesting.

Metadata

Release files for rbtr-lang-less 2026.9.0.dev1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rbtr-lang-less 2026.9.0.dev1
File Size Uploaded
rbtr_lang_less-2026.9.0.dev1.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rbtr-lang-less 2026.9.0.dev1
File Interpreter ABI Platform
rbtr_lang_less-2026.9.0.dev1-py3-none-any.whl Python 3 none any Details

Total release size: 17.1 kB

Release files / rbtr_lang_less-2026.9.0.dev1.tar.gz

Download URL rbtr_lang_less-2026.9.0.dev1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
69a4195e1ba0712c6442eac030d8b0c0792ba0dacd014f22c0eb94a248e20e44
BLAKE2b-256 checksum
How to use checksums
885a643486fb6f2c651dc9dc7a5eaf32a0283b5c4daf05e73907002d2d3019b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / rbtr_lang_less-2026.9.0.dev1-py3-none-any.whl

Download URL rbtr_lang_less-2026.9.0.dev1-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a5d2afa54a01f854b9ab68089a989f343a890a7117e527acb028f34bf66a6b5
BLAKE2b-256 checksum
How to use checksums
0abd836770ea0cab44cbd896dee7f7898496b150cc87f685522d78ccb5fbc438
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page