A tree-sitter grammar for the Erlang documentation generator (edoc) syntax
tree-sitter-edoc is somewhat complete - it's usable but not very good yet.
Some improvements to do:
- Tags may only start on line beginnings
- Doc tags could parse the subject-line (everything before first
.) - Inject Erlang into
@typeand@spec? I lean towards no, those should be migrated into-typeand-specattributes and might be tricky to parse - Find bugs! 🐛