initial commit
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -14,3 +14,8 @@ Cargo.lock
|
|||||||
# MSVC Windows builds of rustc generate these, which store debugging information
|
# MSVC Windows builds of rustc generate these, which store debugging information
|
||||||
*.pdb
|
*.pdb
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Added by cargo
|
||||||
|
|
||||||
|
/target
|
||||||
|
|||||||
8
Cargo.toml
Normal file
8
Cargo.toml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[package]
|
||||||
|
name = "rbfckr"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
12
README.md
12
README.md
@@ -1,3 +1,13 @@
|
|||||||
# rbfckr
|
# rbfckr
|
||||||
|
|
||||||
Rust version of my brainfuck interpreter
|
A simple to use brainfuck interpreter with built in debugger written in Rust.
|
||||||
|
This is a reimplementation of my brainfuck interpreter [bfckr](https://github.com/id101010/bfckr).
|
||||||
|
|
||||||
|
# Usage
|
||||||
|
```
|
||||||
|
Usage: ./bfckr [OPTION]
|
||||||
|
-h Show this help.
|
||||||
|
-d Enable debugger.
|
||||||
|
-f Execute brainfuck code given as file.
|
||||||
|
-e Execute brainfuck expression given as argument.
|
||||||
|
```
|
||||||
|
|||||||
3
src/main.rs
Normal file
3
src/main.rs
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user