Parsers for markdown languages are the hardest to write because at first you think they are easy to write

I've been rewriting the same file over and over for the last two-three days

  • 12
    If it's not a secret, what are you doing that requires you to write a new parser?
  • 3
    I tried doing that once, after 1-2 hours of constant rewrites I realized it would take too much effort to make it work. So me being a lazy ass I just tossed everything in the trash and went for another project.
  • 0
    _Isn't there a npm module for that?_
  • 0
    Flex and bison ftw
  • 1
    @kamen custom markdown language for API documentation because all the ones out there suck

    @melezorus34 Go

    @milkybarkid not complex enough for bison, there is no nested behavior so no tree and no noth
  • 0
    @frogstair Why don't you look at something that can generate docs from source (or are you talking about the same thing)?
  • 0
    @kamen that's exactly what I'm doing. Getting some source code, and rendering HTML from that
Add Comment