{"name":"rb19-polyglot","portdir":"ruby/rb19-polyglot","version":"0.3.1","license":"MIT","platforms":"any","epoch":0,"replaced_by":null,"homepage":"https://github.com/cjheath/polyglot","description":"File type registry for Ruby 'require'","long_description":"Polyglot provides a registry of file types that can be loaded by calling its improved version of ‘require’. Each file extension that can be handled by a custom loader is registered by calling Polyglot.register(“ext”, <class>), and then you can simply require “somefile”, which will find and load “somefile.ext” using your custom loader. This supports the creation of DSLs having a syntax that is most appropriate to their purpose, instead of abusing the Ruby syntax.","active":true,"categories":["ruby"],"maintainers":[],"variants":[],"dependencies":[{"type":"build","ports":["clang-16"]},{"type":"lib","ports":["ruby19"]}],"depends_on":[{"type":"run","ports":["rb19-treetop"]}]}