tree-sitter-clingo

Crates.iotree-sitter-clingo
lib.rstree-sitter-clingo
version1.0.4
created_at2022-01-03 18:09:03.889799+00
updated_at2026-01-13 19:38:11.784809+00
descriptionClingo grammar for tree-sitter
homepage
repositoryhttps://github.com/potassco/tree-sitter-clingo
max_upload_size
id507242
size973,420
Sven Thiele (sthiele)

documentation

README

🌳 tree-sitter-clingo ci-badge pypi-version-badge npm-version-badge crates-version-badge rust-doc-badge

This repository provides the tree-sitter grammar for clingo language, a system for Answer Set Programming (ASP) developed by the Potassco group.

📦 Installation

  • Python: pip install tree-sitter-clingo (PyPI)
  • Node.js: npm install tree-sitter-clingo (npm)
  • Rust: cargo add tree-sitter-clingo (crates.io)
  • C: Build with tree-sitter build

🔗 Related Projects

📋 Release Checklist

We bundle generated files for easier deployment. Ensure to generate (build and test) the parser using the following commands:

npx tree-sitter generate
npx tree-sitter build
npx tree-sitter test

When preparing a new release, ensure the version is updated consistently in the following files:

  • package.json
  • package-lock.json (run npm update -S to update)
  • Cargo.toml
  • Cargo.lock (run cargo update to update)
  • pyproject.toml
  • Makefile
Commit count: 144

cargo fmt