2014-02-26 20:36:30 +00:00
|
|
|
=begin
|
2014-02-26 18:50:16 +00:00
|
|
|
rule '.rb' => '.y' do |task|
|
|
|
|
Cliver.assert('racc', '~> 1.4')
|
|
|
|
|
|
|
|
sh "racc -l -o #{task.name} #{task.source}"
|
|
|
|
end
|
|
|
|
|
|
|
|
desc 'Generates the parser'
|
|
|
|
task :parser => [PARSER_OUTPUT]
|
2014-02-26 20:36:30 +00:00
|
|
|
=end
|