Permalink
Browse files

MOSTLY DONE... importing now so I can track.

[git-p4: depot-paths = "//src/ruby_parser/dev/": change = 3651]
  • Loading branch information...
0 parents commit afc6228460ffc178c78aa4bd99e5e6f06a6e752b @zenspider zenspider committed Nov 14, 2007
Showing with 4,417 additions and 0 deletions.
  1. +5 −0 History.txt
  2. +9 −0 Manifest.txt
  3. +48 −0 README.txt
  4. +37 −0 Rakefile
  5. +2,539 −0 lib/ruby_lexer.rb
  6. +1,639 −0 lib/ruby_parser.y
  7. +92 −0 test/test_ruby_lexer.rb
  8. +48 −0 test/test_ruby_parser.rb
@@ -0,0 +1,5 @@
+== 1.0.0 / 2007-11-14
+
+* 1 major enhancement
+ * Birthday!
+
@@ -0,0 +1,9 @@
+History.txt
+Manifest.txt
+README.txt
+Rakefile
+lib/ruby_lexer.rb
+lib/ruby_parser.rb
+lib/ruby_parser.y
+test/test_ruby_lexer.rb
+test/test_ruby_parser.rb
@@ -0,0 +1,48 @@
+RubyParser
+ by FIX (your name)
+ FIX (url)
+
+== DESCRIPTION:
+
+FIX (describe your package)
+
+== FEATURES/PROBLEMS:
+
+* FIX (list of features or problems)
+
+== SYNOPSIS:
+
+ FIX (code sample of usage)
+
+== REQUIREMENTS:
+
+* FIX (list of requirements)
+
+== INSTALL:
+
+* FIX (sudo gem install, anything else)
+
+== LICENSE:
+
+(The MIT License)
+
+Copyright (c) 2007 FIX
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+'Software'), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,37 @@
+# -*- ruby -*-
+
+require 'rubygems'
+require 'rake/testtask'
+require 'hoe'
+require './lib/ruby_lexer.rb'
+
+Hoe.new('RubyParser', RubyParser::VERSION) do |p|
+ p.rubyforge_name = 'ruby_parser'
+ p.author = 'Ryan Davis'
+ p.email = 'ryand-ruby@zenspider.com'
+ p.summary = 'FIX'
+ p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
+ p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
+ p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
+end
+
+task :test => ["lib/ruby_parser.rb"]
+
+Rake::TestTask.new do |t|
+ t.libs << "test"
+ t.test_files = FileList['test/test*.rb']
+ t.verbose = true
+end
+
+rule '.rb' => '.y' do |t|
+ sh "racc -c -v -g --no-extentions -o #{t.name} #{t.source}"
+end
+
+task :clean do
+ rm_f(Dir["**/*~"] +
+ Dir["**/*.diff"] +
+ Dir["lib/ruby_parser.rb"] +
+ Dir["lib/*.output"])
+end
+
+# vim: syntax=Ruby
Oops, something went wrong.

0 comments on commit afc6228

Please sign in to comment.