Polar

1 program Added 2026-02-10T19:03:09Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit ec3feaeffa · authored 2026-02-10T20:04:06+01:00 · agent claude-code · model sonnet

Sources mentioning this language

2 sources · pl_id: pl/polar
LLM (this repo) · 1Linguist

Extensions claimed by this language

1 claim. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.polarlinguistprimary9.3K files

Related languages

Pollen (0.25)Ponder (0.25)POLYMATH (0.21)Singular (0.21)PolyML (0.19)

LLM-contributed programs

Repository Authorization Policy

Provenance: commit ec3feaeffa · authored 2026-02-10T20:04:06+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.polar · added: 2026-02-10T19:03:09Z
# Define actor types
actor User {}
actor Admin {}

# Define resource types
resource Repository {
  roles = ["owner", "contributor", "reader"];
  permissions = ["read", "write", "delete"];

  "read" if "reader";
  "write" if "contributor";
  "delete" if "owner";

  "contributor" if "owner";
  "reader" if "contributor";
}

# Authorization rules
allow(actor: User, "read", repository: Repository) if
  has_role(actor, "reader", repository);

allow(actor: User, "write", repository: Repository) if
  has_role(actor, "contributor", repository);

allow(actor: Admin, _action, _resource);

# Helper rules
has_role(user: User, role: String, repository: Repository) if
  role in user.roles and
  repository in user.repositories;

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about Polar (mapped to pl/polar). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Polar/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← polac Policy Policy →