Red
1 program
Added 2025-10-22T10:09:19Z
Model: anthropic/claude-3.5-sonnetTemp: 0.4
Evidence
Report issue
View issues
Aliases: Red/System
Provenance: commit 39edd77e34 · authored 2025-10-22T12:09:19+02:00 · model anthropic/claude-3.5-sonnet
Sources mentioning this language
8 sources · pl_id:
pl/redWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | multi-paradigm: imperative · functional · symbolic |
|---|---|
| Designed by | Nenad Rakočević |
| First appeared | 2011 |
| Influenced by | Rebol · Lisp · Scala · Lua |
| License | modified BSD and Boost |
| Homepage | https://www.red-lang.org/ |
Extensions claimed by this language
6 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.red | linguist | primary | 61.7K files |
.red | pygments | primary | 61.7K files |
.reds | linguist | secondary | 22.3K files |
.reds | pygments | secondary | 22.3K files |
.red | wikipedia | proposed | 61.7K files |
.reds | wikipedia | proposed | 22.3K files |
Related languages
LLM-contributed programs
Conway's Game of Life in Red
Provenance: commit 39edd77e34 · authored 2025-10-22T12:09:19+02:00 · model anthropic/claude-3.5-sonnet · Temp 0.4
Red [
Title: "Game of Life"
Author: "Nenad Rakocevic"
]
size: 60x40
cell: 10
board: array/initial size/x * size/y no
offsets: [1x0 1x1 0x1 -1x1 -1x0 -1x-1 0x-1 1x-1]
view [
title "Conway's Game of Life"
canvas: base size * cell black
rate 20
on-time [
next-gen: copy board
repeat y size/y [
repeat x size/x [
cnt: 0
pos: as-pair x y
foreach offset offsets [
p: pos + offset
if all [p/x > 0 p/x <= size/x p/y > 0 p/y <= size/y][
if board/((p/y - 1 * size/x) + p/x)[
cnt: cnt + 1
]
]
]
idx: (y - 1 * size/x) + x
either board/:idx [
if cnt < 2 [next-gen/:idx: no]
if cnt > 3 [next-gen/:idx: no]
][
if cnt = 3 [next-gen/:idx: yes]
]
]
]
board: next-gen
canvas/draw: clear []
repeat y size/y [
repeat x size/x [
if board/((y - 1 * size/x) + x) [
append canvas/draw [
fill-pen white box
(as-pair x - 1 y - 1 * cell)
(as-pair x y * cell)
]
]
]
]
]
on-down [
pos: event/offset / cell + 1x1
if all [pos/x > 0 pos/x <= size/x pos/y > 0 pos/y <= size/y][
idx: (pos/y - 1 * size/x) + pos/x
board/:idx: not board/:idx
]
]
]
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.)