ECL
1 program
Added 2025-10-28T10:36:32Z
Model: google/gemini-2.5-proTemp: 0.4
Evidence
Report issue
View issues
Aliases: Enterprise Control Language
Provenance: commit 868346ae34 · authored 2025-10-28T11:36:32+01:00 · model google/gemini-2.5-pro
Sources mentioning this language
9 sources · pl_id:
pl/eclWikipedia 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 | declarative · structured · data-centric |
|---|---|
| Typing | static, strong, safe |
| Designed by | HPCC Systems® · LexisNexis Risk Solutions |
| First appeared | 2000 |
| Influenced by | Prolog · Pascal · SQL · Snobol4 · C++ · Clarion |
| Homepage | http://hpccsystems.com/ |
Extensions claimed by this language
3 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 |
|---|---|---|---|
.ecl | linguist | primary | 201.6K files |
.ecl | pygments | primary | 201.6K files |
.eclxml | linguist | secondary | 479 files |
Related languages
LLM-contributed programs
DEDUP vs SELECTN Example
Provenance: commit 868346ae34 · authored 2025-10-28T11:36:32+01:00 · model google/gemini-2.5-pro · Temp 0.4
/*##############################################################################
## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. All rights reserved.
############################################################################## */
// DEDUP vs. SELECTN
//For each person, create a list of the 2 states they lived in the longest
//Assume the data is sorted by person id, then by years in state descending
Rec := RECORD
UNSIGNED4 PersonID;
STRING15 FirstName;
STRING25 LastName;
STRING2 State;
UNSIGNED2 YearsInState;
END;
People := DATASET([ {1,'Kevin','Hall','FL',4},
{1,'Kevin','Hall','GA',2},
{1,'Kevin','Hall','PA',1},
{2,'Liz','Smith','AZ',3},
{2,'Liz','Smith','CA',2},
{3,'John','X','FL',8},
{3,'John','X','GA',7},
{3,'John','X','NY',6},
{3,'John','X','CA',5},
{4,'Jane','Doe','CA',10},
{4,'Jane','Doe','FL',1} ], Rec);
//Using DEDUP
OUTPUT(DEDUP(People,PersonID,KEEP 2));
//Using SELECTN
OUTPUT(People,CHOOSEN(ROWS(LEFT),2),PersonID);
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/.ecl/1 | .ecl | predicates | [{"kind": "any", "regexes": [":="]}] |