DegreeParse
Installation
Add this line to your application's Gemfile:
gem 'degree_parse'
And then execute:
$ bundle
Or install it yourself as:
$ gem install degree_parse
Usage
Require and include this module to use it
require 'degree_parse'
include DegreeParse
student = Student.new(YAML.load(File.read("student.yml")), "requirements.yml.erb")
puts student.check
This returns a hash of requirement names and whether or not they are satisfied.
Contributing
- Fork it ( https://github.com/[my-github-username]/degree_parse/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request # YAML Degree Requirements
This format allows us to specify degree plans in YAML format, and parse a student to check this student against degree requirements. The next phase is to make this parser produce Prolog code, and use that for reasoning.