-
Notifications
You must be signed in to change notification settings - Fork 0
dfreedm/brainf
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
BrainF is a BrainFuck interpreter written in only ~100 lines Usage: scala BrainFParser "brainfuckline" Example: $ scala BrainFParser "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." Hello World Also, can be used within a scala project (or the interpreter). Example: scala> var a = new BrainF scala> a.parse("++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.") Hello World So far, it only handles correctly formatted input, with unmatched brackets failing silently.
About
Scala BrainFuck Interpreter
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published