lib/gisele/language.rb in gisele-0.1.0 vs lib/gisele/language.rb in gisele-0.2.0
- old
+ new
@@ -1,8 +1,10 @@
module Gisele
module Language
+ DOT_ATTRIBUTES = YAML.load_file(Path.dir/"language/dot.yml")
+
def rule2mod(rule)
rule.to_s.gsub(/(^|_)([a-z])/){|x| $2.capitalize}.to_sym
end
module_function :rule2mod
@@ -15,6 +17,7 @@
end # module Language
end # module Gisele
require_relative 'language/syntax'
require_relative 'language/ast'
require_relative 'language/transformer'
-require_relative 'language/sugar_removal'
+require_relative 'language/sugar_removal'
+require_relative 'language/to_graph'
\ No newline at end of file