Add GrammarParser class to parse input file
This commit is contained in:
1 parent
75a1049040
commit
0cc4516c0e
3 files changed
+26
No files matched your search
@@ -36,6 +36,11 @@ EOF
|
||||
$stderr.puts "Error: must specify input file"
|
||||
return 1
|
||||
end
|
||||
unless File.readable?(input_file)
|
||||
$stderr.puts "Error: cannot read #{input_file}"
|
||||
return 2
|
||||
end
|
||||
Imbecile.run(input_file)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
module Imbecile
|
||||
class GrammarParser
|
||||
|
||||
def initialize(input_file)
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user