cripslock

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 1a6f46969766f5a10f71de9df955e9345f63e9c3
parent 226f324a1d631cf1ef0e92b61bc8a2805b31ea18
Author: Daniel Barlow <dan@telent.net>
Date:   Sat, 19 Jul 2025 23:17:16 +0100

refine TODO list

Diffstat:
MREADME.md | 36++++++++++++++++++------------------
Atests/post-with-headers.textile | 34++++++++++++++++++++++++++++++++++
2 files changed, 52 insertions(+), 18 deletions(-)

diff --git a/README.md b/README.md @@ -1,25 +1,25 @@ +# What's the plan? -read a directory full of markdown files -https://github.com/jgm/lunamark/blob/master/README.markdown +0. read frontmatter. should we convert this to yaml? + probably not worth it +1. Read a directory full of markdown/textile files +* https://github.com/jgm/lunamark/blob/master/README.markdown -index them by title -make slugs from titles -make summaries from frontmatter or first para -for each hashtag in each file, add it to a list - -answer requests: - -https://github.com/daurnimator/lua-http/blob/master/examples/serve_dir.lua +2. index them by title +4. make summaries from frontmatter or first para +5. for each hashtag in each file, add it to a list +6. start an http server, answer requests: +https://github.com/daurnimator/lua-http/blob/master/examples/serve_dir.lua -- for /, paginate files in rev date order and show summary -- for /slug, that page -- for /#tagname, search hashtags for files, paginate summaries - -- for /edit/slug, an edit form -- for /new/, also the edit form but slug is editable as well - -- ?content-type=rss on any page produces an rss version of that page +** for /, paginate files in rev date order and show summary +** for /yyyy/mm, all the files with pub date in that month +** for /slug, the page with that filename (assuming it's unambiguous) +** for /yyyy/mm/slug, display as per slug +** for /#tagname, search hashtags for files, paginate summaries +** for /edit/slug, an edit form +** for /new/, also the edit form but slug is editable as well +** ?content-type=rss on any page produces an rss version of that page diff --git a/tests/post-with-headers.textile b/tests/post-with-headers.textile @@ -0,0 +1,34 @@ +title: What I miss most about Lisp +author: Daniel Barlow +date: Sat Apr 30 23:23:33 2011 +X-Parrot: norweigan blue + +first content line + +It's been three months since I wrote anything longer than one line in +Lisp, and over a year since I wrote more than a screenful of the +stuff. + +What I miss most is not CLOS or the REPL or even macros (per se, +anyway). It's + +* the distinction between READ and EVAL: a sane syntax for + constructing complex data structures that look like code, but + without actually having the data structures in question interpreted + +* and backtraces with the values of function parameters in them. When + you're doing the same thing 1000 times to different database rows or + objects in a collection, and one of them has a @nil@ in it + somewhere, it would be really nice to know *which* one. + +And maybe the REPL (although irb does most of that). And kinda sorta +Defsystem, but I seem to be in the process of + "reimplementing that":https://github.com/telent/projectr ... + +But I hope soon to get Rubinius installed, just because I still have +the irrational opinion that a grown-up programming language ought to +be able to implement itself (and I have a _thing_ for native code) so +project 1 there is to see if I can hack the backtrace thingy at least +into it. + +