tbsp (tree-based source-processing language) is an awk-like language that operates on tree-sitter syntax trees. To motivate the need for such a program, we could begin by writing a markdown-to-html converter using tbsp and tree-sitter-md. We need some markdown to begin with: # 1 heading content of first paragraph ## 1.1 heading content of nested paragraph For future reference, this markdown is parsed like so by tree-sitter-md (visualization generated by tree-viz): document | section | | atx_h...