Skip to content

grammar.js: Improve grammar and export tokens

  • Export grammar tokens through tokens.js file (so that swh-web can use them)
  • Improvements in the grammar to better handle sort_by and limit
  • Introduce annotateFilter function in grammar.js to assign tree-sitter fields to different parts of a filter (field, op, value)

Migrated from D6109 (view on Phabricator)

Merge request reports