Feral

1 program Added 2026-02-09T08:53:51Z Agent: claude-codeModel: claude-opus-4-6WebSearch: enabled Evidence Report issue View issues
Aliases: —
Provenance: commit a25932653a · authored 2026-02-09T09:54:49+01:00 · agent claude-code · model claude-opus-4-6

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Fexl (0.30)Coral (0.27)Choral (0.25)Ferret (0.25)Spiral (0.25)

LLM-contributed programs

Linked List

Provenance: commit a25932653a · authored 2026-02-09T09:54:49+01:00 · agent claude-code · model claude-opus-4-6 · WebSearch enabled
code.fer · license: MIT · added: 2026-02-09T08:53:51Z
let io = import('std/io');
let ptr = import('std/ptr');
let lang = import('std/lang');

let node_t = struct(d = 0, next = nil);
let list_t = struct(head = nil);

let add in list_t = fn(data) {
    if self.head == nil {
        let head in self = node_t(d = data);
        return;
    }
    let iter = ptr.new(self.head);
    while iter.get().next != nil {
        iter.set(iter.get().next);
    }
    let next in iter.get() = node_t(d = data);
};

let disp in list_t = fn() {
    if self.head == nil { return; }
    let iter = ptr.new(self.head);
    while iter.get() != nil {
        io.println(iter.get().d);
        iter.set(iter.get().next);
    }
};

let l = list_t();
l.add(1);
l.add(2);
l.add(3);
l.add(4);

l.disp();

Contribute — propose a file extension

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