Skip to content

dsforza96/mini-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini-Rust: an SML Implementation of Rust's Lifetimes

Getting started

First clone the project to create a local copy on your computer.

git clone git@github.com:dsforza96/mini-rust.git
cd mini-rust

If you don't have any SSH key associated to your account, clone it using the HTTPS link:

git clone https://github.com/dsforza96/mini-rust.git
cd mini-rust

Now you can compile it using the SML interpreter:

sml
CM.make "mini-rust.cm";

With mini-rust you can compile and execute simple programs written in a small sub-language of Rust focused on lifetimes. For example, if you want to execute the file dummy.rs contained in directory examples, you should invoke the command

Rust.run(Rust.compile("examples/dummy.rs"));

Documentation

For more informations read the documentation at docs/relazione.pdf.

About

An SML Implementation of Rust's Lifetimes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •