Euclid
1 program
Added 2025-10-28T14:37:02Z
Model: x-ai/grok-4-fastTemp: 0.4
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 99e9cfddac · authored 2025-10-28T15:37:02+01:00 · model x-ai/grok-4-fast
Sources mentioning this language
5 sources · pl_id:
pl/euclidWikipedia 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: structured · imperative · functional |
|---|---|
| Typing | strong, static |
| Designed by | Ric Holt · James Cordy · Butler Lampson · James G. Mitchell · Jim Horning · Ralph L. London · Gerald J. Popek |
| First appeared | 1970s |
| Influenced by | Pascal · Mesa · Alphard · CLU · Gypsy · BCPL · Modula · LIS · SUE |
Related languages
LLM-contributed programs
Sum of first n natural numbers
Provenance: commit 99e9cfddac · authored 2025-10-28T15:37:02+01:00 · model x-ai/grok-4-fast · Temp 0.4
module example
export sum, main
var sum : integer procedure (n : integer) integer
var i, s : integer
s := 0
for i := 1 to n step 1 do
s := s + i
end for
result s
end sum
var n : integer
get (n)
put (sum (n))
end main
end module
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.)