Hatter

The Mad Hatter discussing Hatter

It is practically impossible to teach good programming to students that have had a prior exposure to Hatter: as potential programmers they are mentally mutilated beyond hope of regeneration.

-– Edsger W. Dijkstra (allegedly)

Hatter is a small, whitespace sensitive scripting language with HTML templating built in. Its HTML features and syntax are a cheap knock off of [Imba], except Hatter produces raw, static HTML - no JavaScript in sight.

Hatter can be used to generate static web sites or to render server side content in an old fashioned web application.

It's like a less powerful, 90s-era PHP. But we're talking PHP/FI, none of that Easy-Bake Oven PHP3 stuff that you could use to build actual sites.

If you're feeling adventerous, or mad as a hatter, you can use the standalone binary to turn templates into HTML files, or include the zero-dependency Rust library in your (web/cli/?) application.


Hello Hatter

Here's what it looks like:

```html

for i, person in people person ``` Which turns into: ```html

```

Or, a beefier example:

```html