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/icon
LLM (this repo) · 1PldbPygmentsWikipediaRosettacodeWikidata · Q1156474

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Paradigmsmulti-paradigm: structured · text-oriented
Typingdynamic
Designed byRalph Griswold
First appeared1977
Influenced bySNOBOL · SL5 · ALGOL
Homepagehttp://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.
ExtensionSourceStrengthSWH
.iconpygmentsprimary19.4K files

Related languages

Falcon (0.71)J (0.66)S (0.66)Eta (0.62)Jac (0.62)

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
code.icn · added: 2025-10-22T15:15:16Z
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.)

Contribute — propose a file extension

Tell us where to find evidence about Icon (mapped to pl/icon). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Icon/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← icml icot →