Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How is it parsing? Just normal string and regex matching or transforming markdown to an intermediate structured language?


For the markdown, I'm using https://github.com/wooorm/markdown-rs, which is a formal parser that produces an AST. For the query language, I have a very simple hand-rolled parser.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: