Built something? We create video reels & spotlights for GitHub projects.Promote your project →
michaelmelanson
Home / Haskell / cminus-compiler

michaelmelanson/cminus-compiler

A compiler for C-Minus written in Haskell that targets an architecture called TM. I wrote this for a Compilers course. It could stand to be refactored in a few places, but overall I'm pretty proud of it.

Haskell ◇ developer-tools BSD-2-Clause
★7STARS
⑂0FORKS
!1ISSUES
🏆#9,550GLOBAL RANK
🔥1DAYS TRENDING
🚀
Maintainer Growth Kit for cminus-compiler

Claim this project, add your verified backlink badge to your README, and download milestone cards.

Claim Repo

Star History

Continuous Observations
Interactive star growth chart for michaelmelanson/cminus-compiler
CSV

Momentum

+10

STARS · LAST 30 DAYS

1

PER DAY

#26

MOST-STARRED Haskell

Window7 days30 days90 days
Stars gained+7+10+90
Per day111
Forks gained+1+3+10

cminus-compiler gained 10 stars in the last 30 days, about 1 a day, and now has 7. It is about 17 years old and has averaged roughly 0 stars a year. It ranks #26 among Haskell repositories and #9,550 across all languages on GitHubRepo.

Trending Record

cminus-compiler has maintained a continuous presence across global trending indexes, peaking at #9136. Below is the 30-day activity profile:

💡 Overview

cminus-compiler is an open-source project written in Haskell: A compiler for C-Minus written in Haskell that targets an architecture called TM. I wrote this for a Compilers course. It could stand to be refactored in a few places, but overall I'm pretty proud of it.

Engineered for speed, consistency, and developer ease, it solves common hurdles in Haskell. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.

⚡ Key Features

1

Optimized execution pipeline written in Haskell for predictable speed.

2

Zero-friction configuration with comprehensive sensible defaults out of the box.

3

Cross-platform runtime support across Linux, macOS, and Windows environments.

4

Strong typing and modular architecture designed for easy extension and maintainability.

5

Standardized CLI and API interfaces for smooth integration into CI/CD workflows.

6

Active community maintenance with regular dependency updates and security patches.

📥 Installation

terminal
$ git clone https://github.com/michaelmelanson/cminus-compiler.git
cd cminus-compiler

⚙ System Requirements

Platforms

  • • macOS
  • • Linux
  • • Windows

Runtime & Dependencies

Haskell environment and standard tooling

Architecture

x86_64, ARM64 (Apple Silicon & Graviton)

🧠 How It Works

cminus-compiler coordinates its core functionality through a modular Haskell 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 cminus-compiler into Haskell 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 BSD-2-Clause license.

🚀 Getting Started

1

Install cminus-compiler using your package manager: `git clone https://github.com/michaelmelanson/cminus-compiler.git`

2

Initialize your project workspace or configuration file for cminus-compiler.

3

Import cminus-compiler into your codebase or invoke it directly from your terminal.

4

Execute your test suite or run `cminus-compiler --help` to verify successful setup.

👍 Strengths

Active community backing with 7 GitHub stars and verified adoption.
Permissive open-source distribution under the BSD-2-Clause license.
Built in Haskell for high execution speed and developer familiarity.
Cross-platform compatibility across modern Linux, macOS, and Windows environments.
Clean modular design allowing flexible configuration and pipeline integration.

⚠️ Considerations

Requires familiarity with Haskell and modern CLI workflows.
Ecosystem extensions may require manual configuration depending on environment constraints.
Active development roadmap means breaking API changes may occur across major versions.

⇄ Alternatives & Direct Competitors

G
jgm/gitit ★ 2.3K Haskell

A wiki using HAppS, pandoc, and git

Compare ↗
C
evmar/c-repl ★ 212 Haskell

a C read-eval-print loop (abandoned)

Compare ↗
T
alsonkemp/turbinado ★ 85 Haskell

MVC Web Framework for Haskell. See http://github.com/turbinado/turbinado-website for example code

Compare ↗
H
tibbe/hyena ★ 62 Haskell

A Haskell web application server.

Compare ↗

👥 Who Should Use This

Developers and engineering teams building with Haskell, seeking reliable, tested, and actively maintained tooling for production workloads.

🏆 Nearby in the Rankings

michaelmelanson/cminus-compiler is currently ranked #9,550 by stars across every repository tracked on GitHubRepo. These are adjacent projects:

RankRepositoryLanguageStarsAction
#9,371 defunkt/ozimodo — ★ 8 Compare ↗
#9,371 tycho/pearpc C++ ★ 8 Compare ↗
#9,371 roman/rack-auth — ★ 8 Compare ↗
#9,371 michaelfeathers/cuultralight — ★ 8 Compare ↗
#9,371 cwyckoff/babel_icious Ruby ★ 8 Compare ↗
#9,550 michaelmelanson/cminus-compiler This Project Haskell ★ 7
#9,550 nicksieger/jrexml Ruby ★ 7 Compare ↗
#9,550 ruphy/tagua C++ ★ 7 Compare ↗
#9,550 AndrewO/rubycas-client Ruby ★ 7 Compare ↗
#9,550 infil00p/wifidog---freethenet-client C ★ 7 Compare ↗
#9,550 jm/dcov Ruby ★ 7 Compare ↗

Frequently Asked Questions

What does cminus-compiler do? +

A compiler for C-Minus written in Haskell that targets an architecture called TM. I wrote this for a Compilers course. It could stand to be refactored in a few places, but overall I'm pretty proud of it.

What language is cminus-compiler written in? +

The primary language is Haskell. Topics include: software.

Is cminus-compiler actively maintained? +

Yes, the last recorded push was on Feb 26, 2015 with 1 open issues being tracked.

How many stars does cminus-compiler have? +

cminus-compiler has 7 stars and 0 forks on GitHub.

How does cminus-compiler rank among GitHub repositories? +

With 7 stars, michaelmelanson/cminus-compiler is ranked #9,550 globally across all repositories tracked on GitHubRepo and #26 among Haskell projects.

What license is cminus-compiler distributed under? +

The repository reports a BSD-2-Clause license. Always verify the repository LICENSE file for legal terms.

From our network
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.