I am doing a compiler project next year. The project goal is to compile a small imperative language made by the student in Rust.
I am searching for a backend that can be easily tested from Rust and that student can play with to understand what happens inside their compiler. That's why I am very interesting to your project that seems very cool.
I have looked at compiling with the virtual machine UXN which has pretty simple graphical capabilities. It is the graphical capabilities I am interested in.
- How do think could someone compile code to RISCV, then run it with Raven and integrate some graphical cabilities ?
- Could it be possible to extend the system call to add an adhoc graphical system ?
Those graphical calls could be operations such as draw_one_pixel or pretty basic things like that. It definitely would not be efficient and that's not the point it's just for the student to be able to write a simple game (like a snake) at the end if their compiler actually works.
I am doing a compiler project next year. The project goal is to compile a small imperative language made by the student in Rust.
I am searching for a backend that can be easily tested from Rust and that student can play with to understand what happens inside their compiler. That's why I am very interesting to your project that seems very cool.
I have looked at compiling with the virtual machine UXN which has pretty simple graphical capabilities. It is the graphical capabilities I am interested in.
Those graphical calls could be operations such as
draw_one_pixelor pretty basic things like that. It definitely would not be efficient and that's not the point it's just for the student to be able to write a simple game (like a snake) at the end if their compiler actually works.