2 unstable releases

Uses new Rust 2024

new 0.2.0 Feb 14, 2026
0.1.0 Jan 20, 2026

#723 in Filesystem

MIT license

2MB
14K SLoC

Rust 8K SLoC // 0.1% comments C 5K SLoC // 0.0% comments D 288 SLoC Python 38 SLoC // 0.1% comments TypeScript 6 SLoC

Contains (static library, 595KB) objects.a, (Windows DLL, 510KB) src/grug-tests/build/tests.dll, (DOS exe, 155KB) src/grug-tests/build/smoketest.exe, (static library, 80KB) objects.a, (DOS exe, 55KB) CMakeDetermineCompilerABI_C.bin, (DOS exe, 55KB) a.exe and 1 more.

grug-rs

This repository contains a rust implementation of the grug language. It will include rust bindings, a frontend, and possibly multiple backends for grug

Building

run cargo build from within the repository.

Testing

This repository contains grug-tests as a submodule to allow for easy testing.

when you want to run the tests, clone the submodule with

git submodule update --init --force

build the tests with

cd src/grug-tests/ ./build.sh

then run the tests with

cargo test

Dependencies