openhub.net
Black Duck Software, Inc.
Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
W
Writing a Ruby compiler in Ruby
Settings
|
Report Duplicate
0
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Very High Activity
Commits
: Listings
Analyzed
about 12 hours
ago. based on code collected
1 day
ago.
Sep 27, 2025 — Sep 27, 2026
Showing page 107 of 117
Search / Filter on:
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
Vidar Hokstad
More...
over 17 years ago
Various missing conversions to symbols for expect(), and fixed some 'expect()' calls that were meant to be 'expected()'. Ouch.
Vidar Hokstad
More...
over 17 years ago
Gave operators precedence in the tokenizer only when a keyword can be used as an operator (specifically 'do')
Vidar Hokstad
More...
over 17 years ago
Minor cleanup
Vidar Hokstad
More...
over 17 years ago
Added support for the ternary if/else form
Vidar Hokstad
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
Vidar Hokstad
More...
over 17 years ago
made it parse operator overloading methods. e.g.: class Array def *(other_array) ... end end
Christopher Bertels
More...
over 17 years ago
minor change
Christopher Bertels
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
Vidar Hokstad
More...
over 17 years ago
Merge git://github.com/bakkdoor/writing-a-compiler-in-ruby
Vidar Hokstad
More...
over 17 years ago
Minor fix for ease of debugging
Vidar Hokstad
More...
over 17 years ago
Minor bugfix for position setting
Vidar Hokstad
More...
over 17 years ago
Merge commit 'vidarh/master' into dev
Christopher Bertels
More...
over 17 years ago
.gitignore updated to ignore private publish-script for easier publishing to github etc.
Christopher Bertels
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
Christopher Bertels
More...
over 17 years ago
Added test that exposes missing level of Array for arguments to :call when the only argument is a :callm
Vidar Hokstad
More...
over 17 years ago
Merge commit 'vidarh/master' into dev
Christopher Bertels
More...
over 17 years ago
removed enumerable & array from core.rb to make compilation work again
Christopher Bertels
More...
over 17 years ago
fixed bug in Enumerable#inject
Christopher Bertels
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/
Christopher Bertels
More...
over 17 years ago
Fix for foo.bar = 123 rewrite into method call for 'bar=' method, and corrected test result
Vidar Hokstad
More...
over 17 years ago
fixed some bugs etc.
Christopher Bertels
More...
over 17 years ago
added enumerable to list of required files within core.rb
Christopher Bertels
More...
over 17 years ago
Added test (failing) for turning foo.bar = 123 into foo.bar=(123) method call
Vidar Hokstad
More...
over 17 years ago
Remove DO_BEFORE and DO_AFTER and reimplemented 'array' in lib/core/core.rb
Vidar Hokstad
More...
over 17 years ago
Use clean_method_name for functions and function calls as well
Vidar Hokstad
More...
over 17 years ago
Added test for 'unless' fixed it by sharing implementation with 'if' in the parser
Vidar Hokstad
More...
over 17 years ago
refactored cleaning of methodnames out into seperate method also need to clean methodnames when calling (compile_call & compile_callm ?)
Christopher Bertels
More...
over 17 years ago
added enumerable module to core lib. also changed array class a little, mainly for using enumerable module as mixin.
Christopher Bertels
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).
Christopher Bertels
More...
over 17 years ago
←
1
2
…
103
104
105
106
107
108
109
110
111
…
116
117
→
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree