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.dev3

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.dev3
File Size Uploaded
rbtr_lang_less-2026.9.0.dev3.tar.gz 6.3 kB Details

Built distribution (wheel)

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

Total release size: 17.1 kB

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

Download URL rbtr_lang_less-2026.9.0.dev3.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
327583965d87250c209a3ed86aa3f6d627974161c04779cd8ce300ba296bd2a2
BLAKE2b-256 checksum
How to use checksums
7423b452fc899a95f5162485e4d2b5518bf79514e8eb4c0afd780bbe4abe6295
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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

Download URL rbtr_lang_less-2026.9.0.dev3-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
856959d1ad09f50710e5af964dd275b852b4f649221240500df4b5ffe389dce7
BLAKE2b-256 checksum
How to use checksums
a81b75ddbcb34e48304b6c9849eaef5c59df25ca255af5dd300c632eac323ab5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
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