Skip to content

kentaromiura/RustyBrainFuck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RustyBrainFuck

A BrainFuck interpreter written in rust

This project is my first experiment with the rust programming language

Why?

I wanted to do a simple task while trying to experiment with Rust, so I decided to write a simple BrainFuck interpreter in this language.

Why BrainFuck?

I already wrote BF interpreters in the past, and it's a relative simple task, I've done in C and in JavaScript both example above where not following the spec 100%, I remember I fixed the point made by Daniel Cristofani in the comment section, linking to this in my C implementation but I cannot find that version online, also there should be a Perl implementation and maybe a D one but probably I never published them.

Anyway this implementation must be 100% compatible with ENSI specification and possibly with the portable brainfuck spec

Ideally there should be some tests written to ensure this happens.

Build and test

You can build the main by executing make all

You can just run the tests by executing make test

You can build and execute the hello world source with the make hello command.

About

A BrainFuck interpreter written in rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages