From de6a2d34f6562ace3d1a86546e1d438957384d34 Mon Sep 17 00:00:00 2001 From: toro2k Date: Fri, 15 May 2015 02:20:36 +0200 Subject: [PATCH] Renamed project. --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 11 ++++++++++- src/main.rs | 6 +++--- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 448e07d..b2ba99a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,4 +1,4 @@ [root] -name = "bf" +name = "baffi" version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml index 83a4e5f..674b037 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,4 @@ [package] -name = "bf" +name = "baffi" version = "0.1.0" authors = ["toro2k "] diff --git a/README.md b/README.md index 76e199b..6f6c844 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ -# bf-rs +# baffi + A naive brainfuck interpreter written in Rust. + +Build with: + + $ cargo build --release + +Run with: + + $ baffi program_file.b diff --git a/src/main.rs b/src/main.rs index 39b1a10..51824ac 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,12 +1,12 @@ -extern crate bf; +extern crate baffi; use std::io; use std::io::Write; use std::env; use std::fs; -use bf::compiler; -use bf::eval; +use baffi::compiler; +use baffi::eval; macro_rules! printerrln {