Nometabelline
Materiagreat tables for Nim
Classesince November 2026

tabelline makes display tables in Nim: a header, a stub, groups, spanners, formatted numbers, colours and notes, rendered to HTML, text and Markdown. It follows R's gt and Python's Great Tables, in plain Nim, and fits in nimib notebooks.

let t = tabella(planets(), rownameCol = "planet", groupnameCol = "type"):
  tabHeader md("The **planets**"), "of the Solar System"
  colsHide ["density", "gravity", "day_length", "distance", "orbital_period", "rings"]
  colsLabel {"mass": md("mass<br>10^24^ kg"), "diameter": md("diameter<br>km"),
             "mean_temp": md("mean<br>°C"), "moons": md("moons")}
  fmtNumber "mass", decimals = 3, dropTrailingZeros = true
  fmtInteger "diameter"
  dataColor "mean_temp", palette = palette("rdbu"), domain = (-200.0, 200.0)
  tabSourceNote "NASA Planetary Fact Sheet"
  optCssTheme()  # the page's colours
The planets
of the Solar System
mass
1024 kg
diameter
km
mean
°C
moons
Terrestrial
Mercury0.334,8791670
Venus4.8712,1044640
Earth5.9712,756151
Mars0.6426,792-652
Gas giant
Jupiter1,898142,984-11095
Saturn568120,536-140146
Ice giant
Uranus86.851,118-19528
Neptune10249,528-20016
NASA Planetary Fact Sheet

The six parts of every gt table are explained in the Guide. The last line, optCssTheme(), is tabelline's own: the table takes its colours and font from the page, so it changes with the look you pick at the top (how it works).

Stories

Real subjects told in tables made with tabelline, one for every release. All the stories.

Milano Cortina 2026, in small numbers

The Winter Olympics and Paralympics of 2026 told in tables made with tabelline 0.1, in three parts of three: the Games, the money, what stays. Learning from Il Post's coverage, with data from Wikipedia and Il Post.

Most medals, top three
🥇🥈🥉all
Norway18121141
United States1212933
Italy1061430

FOSDEM's data, made with nanuq

Twenty-six years of FOSDEM schedules, from five kinds of web page to ten tidy tables, cleaned, joined and counted with nanuq, Polars for Nim, in under a second. The nanuq code that makes them, what nanuq did well and where it pinched, the schema of every table, and the checks that say the tables hold together.

Three of the ten tables
rows
events.csv12,686
people.csv7,559
stands.csv995

FOSDEM, twenty-six times

Brussels' free software weekend from OSDEM 2001 to FOSDEM 2027, in three parts of three: the editions, the devrooms, the people. The data from FOSDEM's own schedules, read with nanuq; the tables made with tabelline 0.2, ported from the R and gt they were first written in.

The longest-running devrooms
editions
Mozilla24
Embedded, Mobile and Automotive24
Free Java23

Islands of the Mediterranean

195 islands, from Sicily down to islands of 5.5 km²: their shapes, who ruled them, how they live now and when to go. The data from Wikipedia, Wikidata and OpenStreetMap, gathered with nanuq; every table made with tabelline 0.2.

The three largest, at one scale
km²
Sicily25,834
Sardinia24,100
Cyprus9,251

The islands' data, made with nanuq

195 islands from a Wikipedia list, their outlines from OpenStreetMap, and what Wikidata and Wikipedia know about them, joined into tidy tables with nanuq, Polars for Nim. The three steps, the nanuq code, the checks the tables pass, and what nanuq did well.

More stories will come

One for every release, on real data.

Learn tabelline

Start here.

Guide

gt and Great Tables from zero: what they are, how they work inside, who uses them; then tabelline, step by step.

Book

The gt and Great Tables guides, redone in Nim page by page, with the original next to every example.

Reference

Every name tabelline exports, with its signature, its gt and Great Tables names and an example: a link for each.

Where it's going

What tabelline has today and what comes next.

Feature map

Every feature of gt and Great Tables, and whether tabelline has it yet.

Roadmap

What each release adds, and the real tables it is tried on.

How it's made

For anyone who wants to look inside or help.

Devlog

Dated posts on how tabelline is made, newest first. The other pages are kept up to date; posts stay as they were written.

Specs

How tabelline behaves, requirement by requirement, written with OpenSpec for agents and people: each with an example that ran when the page was built.

Design guide

How these pages look and why: the two looks, the shapes, the palette, the type and every component.

For coding agents

Setup, commands, where things are and the working rules, for a coding agent or a person new to the code.