Skip to content

Commit

Permalink
Move stuff around.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Nov 7, 2010
1 parent 23b9797 commit d684237
Show file tree
Hide file tree
Showing 17 changed files with 7,107 additions and 12 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,2 +1 @@
*.rbc *.rbc
grammar.rb
4 changes: 2 additions & 2 deletions Rakefile
Expand Up @@ -9,8 +9,8 @@ end


task :default => :spec task :default => :spec


parser = "lib/poison/systems/rbx/compiler/grammar.rb" parser = "lib/poison/bootstrap/compiler/grammar.rb"
file parser => "lib/poison/systems/rbx/compiler/grammar.treetop" do |t| file parser => "lib/poison/bootstrap/compiler/grammar.treetop" do |t|
sh "tt #{t.prerequisites.first}" sh "tt #{t.prerequisites.first}"
end end


Expand Down
2 changes: 1 addition & 1 deletion lib/poison.rb
@@ -1 +1 @@
require 'poison/systems/rbx' require 'poison/bootstrap'
4 changes: 4 additions & 0 deletions lib/poison/bootstrap.rb
@@ -0,0 +1,4 @@
require 'poison/bootstrap/syntax'
require 'poison/bootstrap/parser'
require 'poison/bootstrap/compiler'
require 'poison/bootstrap/library'
2 changes: 2 additions & 0 deletions lib/poison/bootstrap/compiler.rb
@@ -0,0 +1,2 @@
require 'poison/bootstrap/compiler/compiler'
require 'poison/bootstrap/compiler/parser'
Expand Up @@ -4,8 +4,8 @@ def self.treetop_parser
unless @treetop_parser unless @treetop_parser
require 'rubygems' require 'rubygems'
require 'treetop' require 'treetop'
require 'poison/systems/rbx/compiler/grammar' require 'poison/bootstrap/compiler/grammar'
require 'poison/systems/rbx/compiler/node' require 'poison/bootstrap/compiler/node'
@treetop_parser = GrammarParser @treetop_parser = GrammarParser
end end


Expand Down

0 comments on commit d684237

Please sign in to comment.