Re: Keeping PowerLoom around as a daemon?

Rich Morin <[email protected]> Sun, 22 Jun 2008 17:21:19 -0700
Newsgroups gmane.comp.ai.powerloom
Message-ID <p06230954c48485ebb927@[192.168.1.205]>
After looking more closely at the KIF documentation, I realized
that my first thought (textual substitutions using RegExps and
Ruby code) wasn't going to be very robust, maintainable, etc.

So, I asked around for a Ruby-based parsing library.  I settled
on Treetop, which uses parsing expression grammars to generate
parsers that Ruby can execute.  This weekend, I pulled together
a first cut at a KIF parser.  With the exception of comments, it
can parse (my impression of) the KIF syntax:

  http://cfcl.com/twiki/bin/view/Projects/Arti/Patterns/RubyKif_H2

While I work on parsing comments and emitting KIF generally, I'm
hoping that some folks here will be willing to look over my notes
and let me know if I'm missing (or misinterpreting) anything.

-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