Hi,
This is a great idea to implement Prolog in Ruby! However, when I am trying to run the examples, I am having uninitialized constant error, like:
rubylog1.rb:8:in `block in <main>': uninitialized constant N (NameError)
from /Users/grych/.rvm/gems/ruby-1.9.3-p385/gems/rubylog-1.0.0/lib/rubylog/theory.rb:121:in `instance_exec'
from /Users/grych/.rvm/gems/ruby-1.9.3-p385/gems/rubylog-1.0.0/lib/rubylog/theory.rb:121:in `with_context'
from /Users/grych/.rvm/gems/ruby-1.9.3-p385/gems/rubylog-1.0.0/lib/rubylog/theory.rb:35:in `theory'
from /Users/grych/.rvm/gems/ruby-1.9.3-p385/gems/rubylog-1.0.0/lib/rubylog/mixins/kernel.rb:3:in `theory'
from rubylog1.rb:3:in `<main>'
I am running ruby 1.9.3p385
Hi,
This is a great idea to implement Prolog in Ruby! However, when I am trying to run the examples, I am having uninitialized constant error, like:
I am running ruby 1.9.3p385