Xtend
1 program
Added 2025-10-22T10:16:08Z
Model: anthropic/claude-3.5-sonnetTemp: 0.4
Evidence
Report issue
View issues
Aliases: xtend
Provenance: commit 8e220f3ba1 · authored 2025-10-22T12:16:08+02:00 · model anthropic/claude-3.5-sonnet
Sources mentioning this language
7 sources · pl_id:
pl/xtendWikipedia 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 | object-oriented · imperative · functional |
|---|---|
| Typing | static, strong, inferred |
| Designed by | typefox · Sven Efftinge · Sebastian Zarnekow |
| First appeared | 2011 |
| Influenced by | Java · Scala · Groovy · Smalltalk · Xpand |
| License | Eclipse Public License |
| Homepage | https://eclipse.dev/Xtext/xtend/ |
Extensions 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 |
|---|---|---|---|
.xtend | linguist | primary | 667.5K files |
.xtend | pygments | primary | 667.5K files |
Related languages
LLM-contributed programs
Simple HTTP Server in Xtend
Provenance: commit 8e220f3ba1 · authored 2025-10-22T12:16:08+02:00 · model anthropic/claude-3.5-sonnet · Temp 0.4
package example4
import java.io.BufferedReader
import java.io.InputStreamReader
import java.io.PrintWriter
import java.net.ServerSocket
class BasicWebServer {
def static void main(String[] args) {
val server = new ServerSocket(8080)
while (true) {
val socket = server.accept
val reader = new BufferedReader(new InputStreamReader(socket.inputStream))
val writer = new PrintWriter(socket.outputStream)
try {
while (reader.readLine != '') {}
writer.println('HTTP/1.0 200 OK')
writer.println('Content-Type: text/html')
writer.println('')
writer.println('<html><body>Hello World</body></html>')
writer.flush
} finally {
writer.close
reader.close
socket.close
}
}
}
}
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.)