Imported all sources, previously managed in Darcs. (Considered if I
could import history from Darcs, but found no simple way to do that.)
Added .gitignore in www to ignore Kanocc.html which is generated
Set executable bit on build/build-doc.rb
Set executable bit on build/build-doc.rb
Corrected scm information in www/index.html as scm was changed from
Darcs to git
Corrected copyright statement in docs/Kanocc.xml
Added copyright statement to examples/calculator.rb
Added script build/upload-www.sh to syncronize from my www dir to rubyforge
Added .gitignore at root, to ignore netbeans project directory (nbproject)
Wrote a few lines in README
Added file COPYING containing gpl v3.
Modified kanocc.gemspec to include README and COPYING
Modified .gitignore to exclude kanocc-*.gem which is generated
A number of renamings to adhere to Ruby coding conventions (eg: myVar
--> my_var)
Some more renamings
One more renaming in lib/kanocc/scanner.rb
Some fixes to precedence handling
Fixed some precedence issues, so now both the calculator example and the
ruby quiz 78 example works
Solidified (hopefully) scanning. Now whitespace will be chosen if it
matches a string longer than any token. Also introduced new class
TokenMatch to convey tokenmatces between Scanner, Kanocc and Earley
Changed Token so that it accepts a parameterless initialize (as the
documentation states). Clean up use of start_pos and end_pos so that
it's handled by the Kanocc class and the parser don't have to care about
it.
Token no longer inherits from Regexp, and no longer has an initializer
that must be called