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/metafont
LLM (this repo) · 1PldbWikipediaRosettacodeWikidata · Q1457000

Wikipedia 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 byDonald Knuth
LicensePermissive
Homepagehttps://ctan.org/pkg/metafont

Related languages

MetaPost (0.33)MetaML (0.27)Metalua (0.25)Metamath (0.25)META II (0.21)

LLM-contributed programs

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
code.mf · added: 2025-10-28T06:22:56Z
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.

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 Metafont (mapped to pl/metafont). 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/Metafont/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← metacomco Metafractran →