Euphoria
1 program
Added 2025-10-22T10:19:46Z
Model: anthropic/claude-3.5-sonnetTemp: 0.4
Evidence
Report issue
View issues
Aliases: eu, ex, exw
Provenance: commit 22081d1c2f · authored 2025-10-22T12:19:46+02:00 · model anthropic/claude-3.5-sonnet
Sources mentioning this language
7 sources · pl_id:
pl/euphoriaWikipedia 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: functional · concurrent · distributed · process-oriented |
|---|---|
| Typing | dynamic, strong |
| Designed by | José Valim |
| First appeared | 2012 |
| Influenced by | Clojure · Erlang · Ruby |
| License | Apache License 2.0 |
| Homepage | https://elixir-lang.org |
Extensions claimed by this language
10 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 |
|---|---|---|---|
.e | linguist | primary | 979.7K files |
.ex | pygments | primary | 4.7M files |
.eex | pygments | secondary | 414.2K files |
.ex | linguist | secondary | 4.7M files |
.exs | pygments | secondary | 2.4M files |
.leex | pygments | secondary | 46.4K files |
.e | wikipedia | proposed | 979.7K files |
.edb | wikipedia | proposed | 12.0K files |
.ex | wikipedia | proposed | 4.7M files |
.exw | wikipedia | proposed | 6.4K files |
Related languages
LLM-contributed programs
Simple HTTP Server
Provenance: commit 22081d1c2f · authored 2025-10-22T12:19:46+02:00 · model anthropic/claude-3.5-sonnet · Temp 0.4
include std/net/http.e
include std/net/url.e
constant DEFAULT_PORT = 8080
constant DEFAULT_DOC_ROOT = "."
enum SERVE_STATIC, SERVE_EUPHORIA
function get_file_type(sequence path)
sequence ext = fileext(path)
switch ext do
case ".txt" then return "text/plain"
case ".html", ".htm" then return "text/html"
case ".jpg", ".jpeg" then return "image/jpeg"
case ".gif" then return "image/gif"
case ".png" then return "image/png"
case else return "application/octet-stream"
end switch
end function
procedure main()
atom server = create(DEFAULT_PORT)
puts(1, "Server started on port " & sprint(DEFAULT_PORT) & "\n")
while true do
object client = accept(server)
if atom(client) then continue end if
sequence request = receive(client)
sequence headers = parse_headers(request)
sequence path = headers["path"]
sequence full_path = DEFAULT_DOC_ROOT & path
if file_exists(full_path) then
sequence content_type = get_file_type(full_path)
sequence content = read_file(full_path)
send_response(client, 200, "OK", content_type, content)
else
send_response(client, 404, "Not Found", "text/plain", "404 - File not found")
end if
close(client)
end while
end procedure
main()
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.)
Disambiguation rules
Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
| Rule | Ext | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.e/2 | .e | predicates | [{"kind": "any", "regexes": ["^\\s*namespace\\s", "^\\s*(?:public\\s+)?include\\s", "^\\s*(?:(?:public|export|global)\\s+)?(?:atom|constant|enum|function|integer|object|procedure|sequence|type)\\s"]}] |
h/linguist/.ex/1 | .ex | predicates | [{"kind": "any", "regexes": ["^\\s*namespace\\s", "^\\s*(?:public\\s+)?include\\s", "^\\s*(?:(?:public|export|global)\\s+)?(?:atom|constant|enum|function|integer|object|procedure|sequence|type)\\s"]}] |