Page MenuHomePhabricator

Write a Tree-sitter grammar for Wikitext
Closed, ResolvedPublic

Description

Writing a grammar for the parser generator Tree-sitter will improve text editor support for modern editors such as Helix. The parser converts Wikitext into an abstract syntax tree that can be used for syntax highlighting.

I will give this a try during the Hackathon 2022. Tree-sitter provides docs for getting started.

Repository: https://github.com/Ordoviz/tree-sitter-mediawiki

Prior work:

Event Timeline

@LennardHofmann: Thanks for participating in the Hackathon! We hope you had a great time.

  • If this task was being worked on and resolved at the Hackathon: Please change the task status to resolved via the Add Action...Change Status dropdown, and make sure that this task has a link to the public codebase.
  • If this task is still valid and should stay open: Please add another active project tag to this task, so others can find this task (as likely nobody in the future will look back at the Hackathon workboard when trying to find something they are interested in).
  • In case there is nothing else to do for this task, or nobody plans to work on this task anymore: Please set the task status to declined.

Thank you,
your Hackathon venue housekeeping service