Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nodesocket
· 1y ago · 0 comments
How is it parsing? Just normal string and regex matching or transforming markdown to an intermediate structured language?
Comments
[–]
yshavit
1y ago
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.