Skip to content

Teaching Project on a Compiler - question about graphical extension #77

Description

@pauladam94

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.

  1. How do think could someone compile code to RISCV, then run it with Raven and integrate some graphical cabilities ?
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions