Fennel

1 program Added 2025-10-22T10:12:48Z Model: meta-llama/llama-3.1-70b-instructTemp: 0.4 Evidence Report issue View issues
Aliases: fnl
Provenance: commit 73ba39b20a · authored 2025-10-22T12:12:48+02:00 · model meta-llama/llama-3.1-70b-instruct

Sources mentioning this language

5 sources · pl_id: pl/fennel
LLM (this repo) · 1PldbLinguistPygmentsRosettacode

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
.fnllinguistprimary59.7K files
.fnlpygmentsprimary59.7K files

Related languages

Fexl (0.20)Fenix (0.19)Feral (0.19)Kernel (0.18)FunnelWeb (0.17)

LLM-contributed programs

Fennel Calculator

Provenance: commit 73ba39b20a · authored 2025-10-22T12:12:48+02:00 · model meta-llama/llama-3.1-70b-instruct · Temp 0.4
code.fn · license: MIT · added: 2025-10-22T10:12:48Z
use std.io

fn main() {
  print("Enter the first number: ")
  let a = read_int()
  print("Enter the second number: ")
  let b = read_int()
  print("Enter the operator (+, -, *, /): ")
  let op = read_str()
  if op == "+" {
    print("Result: ", a + b)
  } else if op == "-" {
    print("Result: ", a - b)
  } else if op == "*" {
    print("Result: ", a * b)
  } else if op == "/" {
    print("Result: ", a / b)
  } else {
    print("Invalid operator")
  }
}

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 Fennel (mapped to pl/fennel). 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/Fennel/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← fenix-project Feral →