-
-
Notifications
You must be signed in to change notification settings - Fork 1
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.
Navigate to https://github.com/AsynchronousAI/reasm/actions, click on the latest run. Scroll down on the latest run until you see artifacts.
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;
}