Skip to content

rc-bandit4461/brainfk-in-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Brainf*ck Interpreter using java

Compile

Compile with: javac Brainfk.java

Run

run with: java Brainfk

Arguments

  • use -h to display help.
  • use -f argument to pass a file in the second argument. Example: java Brainfk "-f" "target.txt"
  • use -s argument to pass a string directly in the second argument.

Example:

java Brainfk "-s" ">++++++++[<+++++++++>-]<.>++++[<+++++++>-]<+.+++++++..+++.>>++++++[<+++++++>-]<++.------------.>++++++[<+++++++++>-]<+.<.+++.------.--------.>>>++++[<++++++++>-]<+."

This would return a "Hello World!" message.

About

Brainfk interpreter in java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages