apiaryio / matter_compiler

API Blueprint AST to API Blueprint Conversion Tool [adhd]
MIT License
16 stars 3 forks source link

Extract AST classes for use in other ruby tools #9

Open vovimayhem opened 10 years ago

vovimayhem commented 10 years ago

Hi! I've just stumbled upon this gem, and I'm interested in forming a Blueprint AST from rspec request examples, as the 'rspec-blueprint' gem is very outdated.

Right now, my strategy was to form an AST with ruby hashes, and use matter_compiler to create the blueprints...

I'm including 'matter_compiler' into my project, however I can't require the matter_compiler AST classes into my code, as it seems that the code in this gem was created only for the purpose of parsing YAML and JSON via command line and output the results.

I'm forking this project in order to send a PR.

vovimayhem commented 10 years ago

OK nevermind... I was trying to require "matter_compiler/blueprint_ast".... sorry me bad.