Skip to content

Commit

Permalink
+ rubynext.y: branch ruby-next custom parser and lexer
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Apr 23, 2020
1 parent e1a45c9 commit 1213b19
Show file tree
Hide file tree
Showing 9 changed files with 5,544 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ lib/parser/ruby27.rb
lib/parser/ruby28.rb
lib/parser/macruby.rb
lib/parser/rubymotion.rb

lib/parser/ruby-next/rubynext.rb
lib/parser/ruby-next/lexer.rb
4 changes: 3 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ GENERATED_FILES = %w(lib/parser/lexer.rb
lib/parser/ruby27.rb
lib/parser/ruby28.rb
lib/parser/macruby.rb
lib/parser/rubymotion.rb)
lib/parser/rubymotion.rb
lib/parser/ruby-next/rubynext.rb
lib/parser/ruby-next/lexer.rb)

CLEAN.include(GENERATED_FILES)

Expand Down
10 changes: 10 additions & 0 deletions lib/parser/ruby-next/builder.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# frozen_string_literal: true

require "parser/builders/default"
require_relative "meta"

module Parser
# Add RubyNext specific builder methods
module Builders::Next
end
end
Loading

0 comments on commit 1213b19

Please sign in to comment.