ghetea-patrick

Riscrithm is a lightweight, low-boilerplate macro-assembly dialect that compiles straight down to pure, human-readable RISC-V assembly. It bridges the gap between the expressive syntax of high-level languages and the raw, deterministic hardware execution of bare-metal computing.

19
0
80% credibility
Found May 27, 2026 at 19 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Go
AI Summary

Documentation for Riscrithm, a high-level macro-assembly language that compiles to RISC-V assembly, covering CLI usage, file structure, and syntax rules.

Star Growth

See how this repo grew from 19 to 19 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is riscrithm?

Riscrithm is a macro-assembly dialect written in Go that compiles readable source code straight to RISC-V assembly. It sits between writing raw assembly by hand and using a full high-level compiler--giving you syntax sugar for registers and memory operations while outputting clean, human-readable .s files. The compiler handles macro expansion, shorthand operators, and even a basic optimizer that converts multiplication by powers of two into efficient bit shifts.

Why is it gaining traction?

The main hook is the syntax. Instead of remembering opcode numbers or writing `addi x1, x1, 1` every time, you write `foo ++`. Riscrithm maps readable statements like `load`, `move`, `swap`, and `if/else` branching directly to their RISC-V equivalents. The optimizer flag strips dead assignments and replaces expensive operations with cheaper ones. The output is pretty-printed and deterministic--you can read it, debug it, and drop it into any RISC-V toolchain without cleanup.

Who should use this?

Embedded systems developers working with RISC-V hardware who want more control than C provides but less friction than raw assembly. Students learning computer architecture--the readable output makes it a solid educational tool. Anyone building bare-metal firmware where predictability and code size matter more than runtime performance.

Verdict

Riscrithm delivers on its promise: readable syntax, clean output, and a working optimizer. At 19 stars with a 0.800000011920929% credibility score, this is an early-stage project with a well-written manual but limited community backing. The Go implementation means easy cross-platform compilation, but test coverage and error handling still need work. Worth trying for hobby projects or learning, but production use requires careful evaluation of the maturity gap.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.