Skip to content

1. Introduction

AsynchronousAI edited this page Sep 1, 2025 · 3 revisions

This is a fun tool to compile languages like C, C++, or Rust into Luau!

Currently this is not able to port existing larger projects to Luau, for that I recommend something like Wasynth.

The goal of this project is to be an extremely low level compiler which aims to stay as true to the original code as possible.

Installation:

Navigate to https://github.com/AsynchronousAI/reasm/actions, click on the latest run. Scroll down on the latest run until you see artifacts.

Screenshot 2025-08-31 at 10 00 38 PM

Example:

int printf(const char *, ...);

long fibonacci(int n) {
    if (n <= 1)
        return n;
    else
        return fibonacci(n - 1) + fibonacci(n - 2);
}

int main() {
    int n = 100;

    printf("Fibonacci Sequence: ");

    for (int i = 0; i < n; i++) {
        printf("%d: %d ", i, (int)fibonacci(i));
    }

    return 0;
}
Screenshot 2025-08-31 at 8 41 42 PM

Clone this wiki locally