/babi-grammars

pip installable package to provide syntax grammars for babi

Primary LanguagePythonMIT LicenseMIT

build status pre-commit.ci status

babi-grammars

grammars for babi

installation

pip install babi-grammars

licenses

the licenses for the individual grammars are included in the licenses directory. the license for this repository is available in the LICENSE file

(internal/contributing instructions)

to add a grammar:

  • add it to the REPOS list in ./bin/download-syntax
    • if you want the latest, use version='HEAD' and then run ./bin/download-syntax update --only repo/name to freeze it
  • run ./bin/download-syntax download --only repo/name
  • add a sample syntax file in /testdata

to update all the grammars

  • run ./bin/download-syntax update
  • then run ./bin/download-syntax download