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/ecl
LLM (this repo) · 1PldbLinguistPygmentsWikipediaEsolangHyperpolyglotRosettacodeWikidata · Q5322691

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.

Paradigmsdeclarative · structured · data-centric
Typingstatic, strong, safe
Designed byHPCC Systems® · LexisNexis Risk Solutions
First appeared2000
Influenced byProlog · Pascal · SQL · Snobol4 · C++ · Clarion
Homepagehttp://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.
ExtensionSourceStrengthSWH
.ecllinguistprimary201.6K files
.eclpygmentsprimary201.6K files
.eclxmllinguistsecondary479 files

Related languages

Control Language (0.46)EGL (0.44)Enterprise (0.43)CLLE (0.36)CL (0.34)

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
code.ecl · license: Apache-2.0 · added: 2025-10-28T10:36:32Z
/*##############################################################################
## 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.
RuleExtKindPredicates (truncated)
h/linguist/.ecl/1.eclpredicates[{"kind": "any", "regexes": [":="]}]

Contribute — propose a file extension

Tell us where to find evidence about ECL (mapped to pl/ecl). 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/ECL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← EchoLang (None1) Eclair →