Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.431 kB
def jflex(file)
sh "#{JFLEX_BIN} #{file}"
end
def jay(name='JavaSignatureParser', skeleton='signature_skeleton.parser')
sh "#{JAY_BIN} #{PARSER_DIR}/#{name}.y < #{PARSER_DIR}/#{skeleton} | grep -v ^//t > #{PARSER_DIR}/#{name}.java"
end
namespace :parse do
task :generate_java_signature_parser do
jflex 'src/org/jruby/lexer/JavaSignatureLexer.flex'
jay 'JavaSignatureParser', 'signature_skeleton.parser'
end
end
Jump to Line
Something went wrong with that request. Please try again.