Icon
1 program
Added 2025-10-22T15:15:16Z
Model: meta-llama/llama-3.1-70b-instructTemp: 0.4
Evidence
Report issue
View issues
Aliases: Icon Programming Language
Provenance: commit 1a1c557e8a · authored 2025-10-22T17:15:16+02:00 · model meta-llama/llama-3.1-70b-instruct
Sources mentioning this language
6 sources · pl_id:
pl/iconWikipedia 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 · text-oriented |
|---|---|
| Typing | dynamic |
| Designed by | Ralph Griswold |
| First appeared | 1977 |
| Influenced by | SNOBOL · SL5 · ALGOL |
| Homepage | http://www.cs.arizona.edu/icon |
Extensions claimed by this language
1 claim. 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 |
|---|---|---|---|
.icon | pygments | primary | 19.4K files |
Related languages
LLM-contributed programs
Icon Programming Language Example
Provenance: commit 1a1c557e8a · authored 2025-10-22T17:15:16+02:00 · model meta-llama/llama-3.1-70b-instruct · Temp 0.4
procedure main()
write("Hello, World!")
end
link strings
# A simple Icon program that prints "Hello, World!"
procedure main()
# The write() function is used to print output to the screen.
write("Hello, World!")
end
# Icon has a built-in string scanning facility.
# This program uses it to extract the first word from a string.
link strings
procedure main()
s := "This is a test string"
word := tab(find(s))
write(word)
end
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.)