Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Initial commit with lexer, parser, ast and visitor
  • Loading branch information
Ary Borenszweig committed Sep 4, 2012
0 parents commit 220bb8c
Show file tree
Hide file tree
Showing 18 changed files with 2,085 additions and 0 deletions.
1 change: 1 addition & 0 deletions .rvmrc
@@ -0,0 +1 @@
rvm use 1.9.3@crystal --create
3 changes: 3 additions & 0 deletions Gemfile
@@ -0,0 +1,3 @@
source :rubygems

gem 'rspec'
18 changes: 18 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,18 @@
GEM
remote: http://rubygems.org/
specs:
diff-lcs (1.1.3)
rspec (2.11.0)
rspec-core (~> 2.11.0)
rspec-expectations (~> 2.11.0)
rspec-mocks (~> 2.11.0)
rspec-core (2.11.1)
rspec-expectations (2.11.2)
diff-lcs (~> 1.1.3)
rspec-mocks (2.11.2)

PLATFORMS
ruby

DEPENDENCIES
rspec
15 changes: 15 additions & 0 deletions lib/crystal.rb
@@ -0,0 +1,15 @@
[
'ast',
'lexer',
'parser',
'to_s',
'token',
'visitor',
'core_ext/false_class',
'core_ext/fixnum',
'core_ext/float',
'core_ext/string',
'core_ext/true_class',
].each do |filename|
require(File.expand_path("../../lib/crystal/#{filename}", __FILE__))
end

0 comments on commit 220bb8c

Please sign in to comment.