Skip to content

WindowGenerator/bfint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bfint

This is a BrainFuck interpreter implemented in Rust. BrainFuck is an esoteric programming language known for its minimalism and extreme simplicity.

Usage

The bfint-cli run command supports two options:

  • [FILE]: Specifies the file containing the BrainFuck code to run.
  • -c --code <CODE>: Positional an argument with BrainFuck code.

Running BrainFuck code with positional argument:

bfint-cli -c "--<-<<+[+[<+>--->->->-<<<]>]<<--.<++++++.<<-..<<.<+.>>.>>.<<<.+++.>>.>>-.<<<+."

Running BrainFuck code from a file:

bfint-cli ./examples/hello_world.bf

Examples

More examples

Roadmap

  • Write interpreter core
  • Write tests for interpreter
  • Add examples
  • Add ci/cd
  • Add normal README
  • Add normal cli to project

Contributing

If you'd like to contribute to this project, feel free to fork the repository and submit a pull request.

Please make sure to write tests for any new functionality you add, and ensure that all existing tests continue to pass.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages