Re:Experience porting 4k lines of C code to go
by keenerd on Wednesday June 22, 2011 @11:08AM
(#2683432)
I agree. (Though my favorite is FuncParserLib, very haskellish.)
Using a real parser could probably cut half the code. Been meaning to make my own Markdown parser, everyone else's kind of sucks :-)
Of course, the downside is that formal grammars are often a bad fit for custom languages of the web, which tend to have incomplete/undecideable/context-dependent grammars. This would work for Markdown, though, since it does have a parseable grammar.