Counts the number of parse trees for a sentence of length n given a possibly ambiguous grammar G in O(n^3 |G|)
Star History
Add Live Star History & Verified Badges to README.md
Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.
Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.
[](https://githubrepo.cloud/repo/cth/treecount?utm_source=readme_chart)
Compact Shields-style badges for your README header. Shows real-time stars and global ranking.
[](https://githubrepo.cloud/repo/cth/treecount?utm_source=readme_badge) [](https://githubrepo.cloud/repo/cth/treecount?utm_source=readme_badge) [](https://githubrepo.cloud/repo/cth/treecount?utm_source=readme_badge)
Momentum
+10
STARS · LAST 30 DAYS
1
PER DAY
#1
MOST-STARRED Prolog
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +7 | +10 | +90 |
| Per day | 1 | 1 | 1 |
| Forks gained | +1 | +3 | +10 |
treecount gained 10 stars in the last 30 days, about 1 a day, and now has 2. It is about 17 years old and has averaged roughly 0 stars a year. It ranks #1 among Prolog repositories and #19,143 across all languages on GitHubRepo.
Trending Record
20
DAYS ON TRENDING
#100
BEST RANK
Jun 24, 2009
FIRST APPEARANCE
Active
STATUS TODAY
treecount has maintained a continuous presence across global trending indexes, peaking at #100. Below is the 30-day activity profile:
💡 Overview
treecount is an open-source project written in Prolog: Counts the number of parse trees for a sentence of length n given a possibly ambiguous grammar G in O(n^3 |G|).
Engineered for speed, consistency, and developer ease, it solves common hurdles in Prolog. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in Prolog for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ git clone https://github.com/cth/treecount.git
cd treecount
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
Prolog environment and standard tooling
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
treecount coordinates its core functionality through a modular Prolog pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Production System Integration
Embed treecount into Prolog backend services to handle core application logic.
CI/CD Automated Pipelines
Run automated validation, builds, and integration suites during deployments.
Developer Tooling & Workflows
Accelerate developer onboarding with pre-configured project utilities.
Open Source Extension
Fork and customize internal modules under the repository's open source license.
🚀 Getting Started
Install treecount using your package manager: `git clone https://github.com/cth/treecount.git`
Initialize your project workspace or configuration file for treecount.
Import treecount into your codebase or invoke it directly from your terminal.
Execute your test suite or run `treecount --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with Prolog, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
cth/treecount is currently ranked #19,143 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #17,788 | matschaffer/mechaflickr | Ruby | ★ 3 | Compare ↗ |
| #17,788 | gnu-lorien/crapvine | Python | ★ 3 | Compare ↗ |
| #17,788 | francois/fogbugz-svnhook | — | ★ 3 | Compare ↗ |
| #17,788 | anildigital/getfake | Ruby | ★ 3 | Compare ↗ |
| #17,788 | mudge/blankable | Ruby | ★ 3 | Compare ↗ |
| #19,143 | cth/treecount This Project | Prolog | ★ 2 | |
| #19,143 | pdsphil/ruby-merlin | Ruby | ★ 2 | Compare ↗ |
| #19,143 | daaku/tempdir | Ruby | ★ 2 | Compare ↗ |
| #19,143 | morgs/poll-builder | Python | ★ 2 | Compare ↗ |
| #19,143 | locusf/monotooth | HTML | ★ 2 | Compare ↗ |
| #19,143 | xman/utility | Shell | ★ 2 | Compare ↗ |
Frequently Asked Questions
What does treecount do? +
Counts the number of parse trees for a sentence of length n given a possibly ambiguous grammar G in O(n^3 |G|)
What language is treecount written in? +
The primary language is Prolog. Topics include: software.
Is treecount actively maintained? +
Yes, the last recorded push was on Aug 24, 2009 with 0 open issues being tracked.
How many stars does treecount have? +
treecount has 2 stars and 1 forks on GitHub.
How does treecount rank among GitHub repositories? +
With 2 stars, cth/treecount is ranked #19,143 globally across all repositories tracked on GitHubRepo and #1 among Prolog projects.
What license is treecount distributed under? +
No SPDX license identified yet. Code without a license is subject to copyright by default.