Scenic

1 program Added 2026-02-22T17:13:46Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 11cf129a39 · authored 2026-02-22T18:14:13+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

3 sources · pl_id: pl/scenic
LLM (this repo) · 1PldbLinguist

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
.sceniclinguistprimary3.1K files

Related languages

STOIC (0.25)SCELBI BASIC (0.22)Sonic Pi (0.20)ScriptBasic (0.17)Small Basic (0.17)

LLM-contributed programs

Basic Object Placement with Constraints

Provenance: commit 11cf129a39 · authored 2026-02-22T18:14:13+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.scenic · added: 2026-02-22T17:13:46Z
# Scenic scenario: basic object placement and constraint example
# Demonstrates core Scenic language features for scenario generation

model scenic.models.basic

# Define the ego object (the primary agent) at the origin
ego = Object with width 4, with height 2, at 0 @ 0

# Place another object at a random position in front
other = Object with width 2, with height 2,
        at Range(5, 10) @ Range(-2, 2),
        facing toward ego

# Require a minimum separation distance between the objects
require (distance from other to ego) > 3

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 Scenic (mapped to pl/scenic). 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/Scenic/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← SCELBI BASIC SCEPTRE →