Metafont
1 program
Added 2025-10-28T06:22:56Z
Model: x-ai/grok-4-fastTemp: 0.4
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 38a766ae10 · authored 2025-10-28T07:22:57+01:00 · model x-ai/grok-4-fast
Sources mentioning this language
5 sources · pl_id:
pl/metafontWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Designed by | Donald Knuth |
|---|---|
| License | Permissive |
| Homepage | https://ctan.org/pkg/metafont |
Related languages
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.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Simple Metafont program to draw letter A
Provenance: commit 38a766ae10 · authored 2025-10-28T07:22:57+01:00 · model x-ai/grok-4-fast · Temp 0.4
mode setup;
font_family := example;
font_size := 10pt#;
beginchar("A", 10u#, 10u#, 0);
italicslant slant;
italiccorrection ic;
pickup pensquare scaled 1.2pt;
z1 = (0,0); bot z1 = 0;
z2 = (5u,10u); top z2 = h;
z3 = (10u,0); bot z3 = 0;
z11 = (2.5u,5u); z12 = (7.5u,5u);
fill z1--z2--z3--cycle cutafter z11--z12;
penpos1(0,0); penpos2(5u,0); penpos3(10u,0);
penpos4(0,h); penpos5(5u,h); penpos6(10u,h);
filldraw (z1l..z2l..z3l) {dir 90} .. {dir 90} (z3r..z2r..z1r);
endchar;
bye.