AGFL

1 program Added 2026-03-12T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Affix Grammar over Finite Lattices
Provenance: commit 52d1f079de · authored 2026-03-12T10:21:01+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

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

Related languages

Vega (0.11)FSP (0.11)AFL (0.11)FreeMarker (0.10)GF (0.10)

LLM-contributed programs

Simple English Grammar with Number Agreement

Provenance: commit 52d1f079de · authored 2026-03-12T10:21:01+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.agfl · added: 2026-03-12T10:00:00Z
% Simple English grammar in AGFL (Affix Grammar over Finite Lattices)
% Demonstrates number agreement between subject and verb

gram english;

affixes
  num = {sg, pl};

rules
  sentence -> np(num) vp(num).
  np(num) -> det(num) noun(num).
  np(sg) -> propernoun.
  vp(num) -> verb(num).
  vp(num) -> verb(num) np(_).
  vp(num) -> verb(num) pp.
  pp -> prep np(_).

codetable
  det(sg) = "a" / "the".
  det(pl) = "the".
  noun(sg) = "dog" / "cat" / "student" / "teacher".
  noun(pl) = "dogs" / "cats" / "students" / "teachers".
  propernoun = "Alice" / "Bob" / "Carol".
  verb(sg) = "sees" / "chases" / "helps" / "likes".
  verb(pl) = "see" / "chase" / "help" / "like".
  prep = "with" / "near" / "beside".

Contribute — propose a file extension

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