MoonScript
1 program
Added 2025-10-23T09:40:21Z
Model: x-ai/grok-4-fastTemp: 0.4
Evidence
Report issue
View issues
Aliases: Moon
Provenance: commit 62bbde9c3b · authored 2025-10-23T11:40:21+02:00 · model x-ai/grok-4-fast
Sources mentioning this language
6 sources · pl_id:
pl/moonscriptExtensions claimed by this language
2 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 |
|---|---|---|---|
.moon | linguist | primary | 152.1K files |
.moon | pygments | primary | 152.1K files |
Related languages
LLM-contributed programs
Simple Vec2 Class Definition
Provenance: commit 62bbde9c3b · authored 2025-10-23T11:40:21+02:00 · model x-ai/grok-4-fast · Temp 0.4
class Vec2
new: (@x, @y) =>
__tostring: -> "Vec2(#{@x}, #{@y})"
+: (other) => Vec2 @x + other.x, @y + other.y
v = Vec2 10, 20
print tostring v
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.)