0
I Use This!
Very High Activity

Commits : Listings

Analyzed about 12 hours ago. based on code collected 1 day ago.
Sep 27, 2025 — Sep 27, 2026
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Test to cover case of expression including a keyword - strings that match keywords are allowed in expressions in certain cases. This test handles the case of it occurring as the second argument of an infix expression More... over 17 years ago
Various missing conversions to symbols for expect(), and fixed some 'expect()' calls that were meant to be 'expected()'. Ouch. More... over 17 years ago
Gave operators precedence in the tokenizer only when a keyword can be used as an operator (specifically 'do') More... over 17 years ago
Minor cleanup More... over 17 years ago
Added support for the ternary if/else form More... over 17 years ago
Fixed longstanding bug that made variables starting with a keyword get 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 More... over 17 years ago
made it parse operator overloading methods. e.g.: class Array def *(other_array) ... end end More... over 17 years ago
minor change More... over 17 years ago
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 More... over 17 years ago
Merge git://github.com/bakkdoor/writing-a-compiler-in-ruby More... over 17 years ago
Minor fix for ease of debugging More... over 17 years ago
Minor bugfix for position setting More... over 17 years ago
Merge commit 'vidarh/master' into dev More... over 17 years ago
.gitignore updated to ignore private publish-script for easier publishing to github etc. More... over 17 years ago
added explicit return statements to parser.rb and some other minor changes to the look & feel of the code to make it more homogeneous More... over 17 years ago
Added test that exposes missing level of Array for arguments to :call when the only argument is a :callm More... over 17 years ago
Merge commit 'vidarh/master' into dev More... over 17 years ago
removed enumerable & array from core.rb to make compilation work again More... over 17 years ago
fixed bug in Enumerable#inject More... over 17 years ago
added all missing methods (partially with an implementation) to array class. took rdoc comments from the original rdoc documentation viewable at: http://www.ruby-doc.org/ More... over 17 years ago
Fix for foo.bar = 123 rewrite into method call for 'bar=' method, and corrected test result More... over 17 years ago
fixed some bugs etc. More... over 17 years ago
added enumerable to list of required files within core.rb More... over 17 years ago
Added test (failing) for turning foo.bar = 123 into foo.bar=(123) method call More... over 17 years ago
Remove DO_BEFORE and DO_AFTER and reimplemented 'array' in lib/core/core.rb More... over 17 years ago
Use clean_method_name for functions and function calls as well More... over 17 years ago
Added test for 'unless' fixed it by sharing implementation with 'if' in the parser More... over 17 years ago
refactored cleaning of methodnames out into seperate method also need to clean methodnames when calling (compile_call & compile_callm ?) More... over 17 years ago
added enumerable module to core lib. also changed array class a little, mainly for using enumerable module as mixin. More... over 17 years ago
changed compile_case to make it compile itself again. compile_case isn't finished though, still need to save the value/expression to which each when-expression needs to be tested against to a register. right now, for each when-expression the test-expression is executed (this isn't very efficient). More... over 17 years ago