Permalink
Switch branches/tags
Nothing to show
Commits on May 15, 2012
  1. [BrainfuckParser.scala]

    UberMouse committed May 15, 2012
    Moved Jump finding code into here
    Changed Jump finding code to use real code lengths (ie multiple +,-,>,< stripped out and replaced by a single character) so jumps work properly with optimized code lengths
    Added parsing of the loop characters
    
    [BrainfuckInterpreter.scala]
    Rewrote to use BrainfuckParser.scala instead of parsing in class
    
    [BrainfuckInterpreterSpec.scala, BrainfuckParserSpec.scala]
    Fixed some test cases
  2. [BrainfuckParser.scala]

    UberMouse committed May 15, 2012
    Solved infinite loop caused by complex expression tests
  3. [BrainfuckInterpreter.scala]

    UberMouse committed May 15, 2012
    Renamed to match new structure (Parser, Interpreter, Compiler as seperate modules)
    
    [BrainfuckInterpreterSpec.scala]
    Renamed to match new test class name
    
    [BrainfuckParser.scala]
    New Brainfuck parser to handle transforming Brainfuck syntax into a List of parse Nodes to aid the Interpreter and Compiler
  4. Changed naming/folder structure for better clarity. Instead of append…

    UberMouse committed May 15, 2012
    …ing _Difficulty to challenge names they are now stored under challenge.difficulty package
  5. [BrainfuckParser_Intermediate.scala]

    UberMouse committed May 15, 2012
    Re did findJumpPoints function to be fully recursive and simpler
    
    [BrainfuckParserSpec.scala]
    Only change output stream for testing in the tests that require it
Commits on May 14, 2012
  1. [BrainfuckParser_Intermediate.scala]

    UberMouse committed May 14, 2012
    Fixed [, ] parsers testing jump conditions on pointer values, not pointer data
    
    [BrainfuckParserSpec.scala]
    Added tests for ] character
  2. [BrainfuckParser_Intermediate.scala]

    UberMouse committed May 14, 2012
    Fixed [, ] character implementations
  3. [BrainfuckParserSpec.scala]

    UberMouse committed May 14, 2012
    Updated pointer tests to use new parse return value
    
    [BrainfuckParser_Intermediate.scala]
    Added [ charcter implementation
    Fixed parse function
  4. [BrainfuckParserSpec.scala]

    UberMouse committed May 14, 2012
    Added tests for findJumpPoints function
    Added tests for [ character
    
    [BrainfuckParser_Intermediate.scala]
    Fixed findJumpPoints function to work correctly for nested loops
Commits on May 13, 2012
  1. [BrainfuckParserSpec.scala]

    UberMouse committed May 13, 2012
    Changed parse to use an offset int instead of throwing away parsed characters to allow for command jumping
    Added a function to find all the jump points in the code
  2. [BrainfuckParserSpec.scala]

    UberMouse committed May 13, 2012
    Changed , character tests to pending due to inability to figure out how to replace Console.in with a custom InputStream that returns a single byte
    
    [BrainfuckParser_Intermediate.scala]
    Added implementation of , character to read from the input stream
  3. [BrainfuckParserSpec.scala]

    UberMouse committed May 13, 2012
    Added test cases for , character
Commits on May 12, 2012
  1. [BrainfuckParserSpec.scala]

    UberMouse committed May 12, 2012
    Added additional test case for . character
  2. [BrainfuckParser_Intermediate.scala]

    UberMouse committed May 12, 2012
    Fixed . command not working due to printing out ascii value of ptr not ptr value
  3. [BrainfuckParser_Intermediate.scala]

    UberMouse committed May 12, 2012
    Added implementation of .
    
    [BrainfuckParserSpec.scala]
    Completed test for .
  4. [BrainfuckParser_Intermediate.scala]

    UberMouse committed May 12, 2012
    Fixed issue causing pointer arithmetic to fail
  5. [BrainfuckParser_Intermediate.scala]

    UberMouse committed May 12, 2012
    Fixed issue causing pointer operations to fail
  6. [BrainfuckParser_Intermediate.scala]

    UberMouse committed May 12, 2012
    Fixed issue causing StackOverflow
  7. [BrainfuckParserSpec.scala]

    UberMouse committed May 12, 2012
    Changed >< tests to make use of new pointer access
    
    [BrainfuckParser_Intermediate.scala]
    Added basic memory and pointer implementations
    Added implementations for >, < + and - operators
  8. [BrainfuckParserSpec.scala]

    UberMouse committed May 12, 2012
     Added tests for ><+- operators
  9. Addition of empty BrainfuckParser_Intermediate class

    UberMouse committed May 12, 2012
    Addition of BrainfuckParserSpec class containing empty WordSpec tests outlining the basic operations in Brainfuck
  10. Reformatting

    UberMouse committed May 12, 2012
  11. initial commit

    UberMouse committed May 12, 2012