RubyKif status report

Rich Morin <[email protected]> Thu, 26 Jun 2008 19:43:15 -0700
Newsgroups gmane.comp.ai.powerloom
Message-ID <p06230963c48a0237df34@[192.168.1.205]>
With a great deal of help from some Treetop experts, I've been
able to create a parser and emitter for KIF.  Because of the
approach I have taken, these should be quite insensitive to
small syntactic vagaries.  Here is a sample translation:

  ( retrieve                [ :retrieve,
    10                        10,
    ( ?x    Person )          [ :'?x',  :Person ],
    ( happy ?x )              [ :happy, :'?x' ]
  )                         ]

Although there is more work to be done (eg, adding diagnostics,
running against a corpus of "real" KIF), I think that most of
the hard issues are out of the way.  For more information, see
http://cfcl.com/twiki/bin/view/Projects/Arti/Patterns/RubyKif_H2.

-r
-- 
http://www.cfcl.com/rdm            Rich Morin
http://www.cfcl.com/rdm/resume     [email protected]
http://www.cfcl.com/rdm/weblog     +1 650-873-7841

Technical editing and writing, programming, and web development