Showing posts with label markdown. Show all posts
Showing posts with label markdown. Show all posts

Monday, May 19, 2008

Markdown and Pypes

For some reason I've decided to take on two really difficult projects. One is the markdown convertor. As I ranted below, I've been stuck at various dead ends. So I've been studying the Lua source. It uses minimum pattern matching and some line scans. That might give me some headway into a proper parser in Factor.

Pypes is based on Pipes, a mobile game I'm addicted to. Now it may not be very difficult, but generating unique structures will take some thinking...

Friday, May 16, 2008

Markdown what does it take to parse you

Its been 4 designs trashed since I've got this need to write a Markdown to HTML convertor in Factor. The catch: I don't want to use regular expressions. I'm trying to make it really generic but some stupid edge case comes along and crashes the parser. Talk about morale sapping. Particularly when I'm already quite frustrated. This is the only frustration which I can rant about in public.