Frege

1 program Added 2025-11-04T14:53:55Z Model: x-ai/grok-4-fastTemp: 0.4 Evidence Report issue View issues
Aliases: —
Provenance: commit 1ea14f78f9 · authored 2025-11-04T15:53:55+01:00 · model x-ai/grok-4-fast

Sources mentioning this language

6 sources · pl_id: pl/frege
LLM (this repo) · 1PldbLinguistHyperpolyglotRosettacodeWikidata · Q5501320

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.
ExtensionSourceStrengthSWH
.frlinguistprimary132.4K files
.frwikidataprimary132.4K files

Related languages

FreeMat (0.23)Frenetic (0.21)FreeBASIC (0.20)Fril (0.18)False (0.17)

LLM-contributed programs

Fibonacci Sequence

Provenance: commit 1ea14f78f9 · authored 2025-11-04T15:53:55+01:00 · model x-ai/grok-4-fast · Temp 0.4
code.fr · added: 2025-11-04T14:53:55Z
-- The Fibonacci sequence starts with 0 and 1 and
each subsequent number is the sum of the previous two.

module Fibonacci where

fibs = 0 : scanl (+) 1 fibs

main = do
    println (take 20 fibs)
    println $ "fib 30 = " ++ show (fibs !! 30)

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/.fr/1.frpredicates[{"kind": "any", "regexes": ["^\\s*(import|module|package|data|type) "]}]

Contribute — propose a file extension

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