Permalink
Commits on May 12, 2009
Commits on May 11, 2009
  1. Added stubs for File, Fixnum, Struct, Symbol to get closer to having …

    …the compiler link successfully
    vidarh committed May 11, 2009
  2. Added expected result for Foo::bar reference, and fixed the problem b…

    …y altering the operator specification and adding support in the tokenizer
    vidarh committed May 11, 2009
  3. Adjusted priority for range operator that halfway fixes the 'case ...…

    … when range1,range2' test case (still needs tree rewrite to lose the comma operator
    vidarh committed May 11, 2009
  4. Tiny workaround to get a bit closer to pass through the assembler - w…

    …ill still generate broken (non-existent code) for class variables
    vidarh committed May 11, 2009
Commits on May 10, 2009
  1. Indentation

    vidarh committed May 10, 2009
Commits on May 8, 2009
  1. Added test case for 'return foo ? bar : baz' that revealed priority p…

    …roblems; corrected priority
    vidarh committed May 8, 2009
  2. Updated s-expression parser to wrap [:sexp, ...] around the expressio…

    …ns to protect them against some types of rewrites
    vidarh committed May 8, 2009
  3. Fix for expressions on the form self.method(arr[1]) where the argumen…

    …t was output outside of an array
    vidarh committed May 8, 2009
Commits on May 7, 2009
  1. Added test covering bug when calling a method with an argument made u…

    …p of a call to the array index operator: foo.bar(ret[123])
    vidarh committed May 7, 2009
Commits on May 6, 2009
  1. Test to cover case of expression including a keyword - strings that m…

    …atch keywords are allowed in expressions in certain cases. This test handles the case of it occurring as the second argument of an infix expression
    vidarh committed May 6, 2009
  2. Various missing conversions to symbols for expect(), and fixed some '…

    …expect()' calls that were meant to be 'expected()'. Ouch.
    vidarh committed May 6, 2009
  3. Gave operators precedence in the tokenizer only when a keyword can be…

    … used as an operator (specifically 'do')
    vidarh committed May 6, 2009
  4. Minor cleanup

    vidarh committed May 6, 2009
  5. Fixed longstanding bug that made variables starting with a keyword ge…

    …t recognized as the keyword followed by a variable name; added mode to 'expect' that handles a symbol argument as a keyword and requires it to match a *full* atom to prevent the aforementioned problem, and converted all appropriate uses of expect() to the symbol form; updated and sorted the keyword set
    vidarh committed May 6, 2009
Commits on May 4, 2009
  1. minor change

    bakkdoor committed May 4, 2009
  2. Added rewrite to handle cases where the first and only argument to a …

    …function or method is a function or method call. Updated test cases to handle slight changes in expected parse trees
    vidarh committed May 4, 2009
  3. Merge git://github.com/bakkdoor/writing-a-compiler-in-ruby

    Conflicts:
    
    	ast.rb
    vidarh committed May 4, 2009
  4. Minor fix for ease of debugging

    vidarh committed May 4, 2009