home / side-projects / a tiny language for todos

A tiny language for todos

I built a parser for the way I already write todos in plain text. Tags, dates, priorities, and a single character for 'maybe'.

A parser for the way I already write todos.

The grammar

One line per task. Hash for tag. Bang for priority. Question mark for maybe.

The parser

A hundred lines, including the tests.

What surprised me

How much structure my plain text already had.


thanks for reading. the rest of the archive is here.