Skip to content

A Redex model for Rust's Mid-level Intermediate Representation

Notifications You must be signed in to change notification settings

patiences/mir-redex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mir-redex

This is an attempt to model the operational semantics of the intermediate representation inside the Rust compiler (MIR). The modelling language used is Redex.

Overview

The idea is that we should be able to take the MIR of a Rust program, convert that into the equivalent Racket form as defined by the grammar in this model, and then run that program according to the reduction rules. The great thing about Redex and reduction rules is that we'll be able to look at all the individual steps that the program took, not just the end result, which is what operational semantics is all about.

This is an undergraduate research project I am working on with Ron Garcia at the University of British Columbia to learn more about PL and is a work in progress! :-)

About

A Redex model for Rust's Mid-level Intermediate Representation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages