Site

Building a website is a very open-ended task I've approached a few times without much lasting success. I don't have much experience with the web, and really not much regular interest, meaning I'll get caught in some sub-problem that's more interesting to me like markdown parsing. This most recent iteration tries to channel this impulse towards making a website as a very limited thesis statement for the type of technology and programming I find interesting or worthwhile.

This current iteration uses the m4 macro processor to implement an ad-hoc markup language.

Commented Page Example

dnl, "Discard to Next Line", starts line comments

dnl the bulk of the website is held behind the expansion of macros.
dnl these are words prefixed with `__' to avoid collision, like
define(__title, Page title)

dnl macros can expand to anything, like page-specific CSS
define({__style}, {
    h2 { border-bottom: 3px solid white; }
})

dnl or include macros for page setup and formatting options
include(lib/stdlib.m4)

__body({
    dnl the stdlib macro for a first-level header:
    __h1(Header 1)
})
Compiling, define the target html, and run the processor:
$ m4 -D_T=html page.m4 > page.html
Thank you to Technomancy who made me aware of this general approach.

Insptiration

This site is hosted by, and I'm a happy customer of, OpenBSD Amsterdam.

A perpetually incomplete list of people who've inspired this technical and presentation effort:

#