2 ms·
How is it parsing? Just normal string and regex matching or transforming markdown to an intermediate structured language?
by nodesocket 2y ago
How is it parsing? Just normal string and regex matching or transforming markdown to an intermediate structured language?
- yshavit 2y agoFor the markdown, I'm using https://github.com/wooorm/markdown-rs 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.