Programming in G2 (from Gensym Corp.)

 

 

Where is G2?

 

/usr/local/gensym/g2-8.0r1/g2/

 

How do I run G2?

 

Log on to a Unix machine (our license only permits 1 G2 session per machine, so pick a "machine of your own" to use for our class work) and execute g2:

 

/usr/local/gensym/g2-8.0r1/g2/g2 &

 

or, if you're already in the g2 directory, simply type

 

g2 &

 

Right-click on the gray patterned window background, and choose Load KB.

Press Enter to see the contents of the current directory.

Click on kbs/, and press Enter;

click on tutors/, and press Enter;

 click on ch2.kb, and press Enter.

 

Hmmm...  What's this?

 

This is the Knowledge Base, or KB, to accompany Chapter 2 of the G2 Tutorial (Getting Started with G2).

 

Where's the G2 Tutorial?

 

/usr/local/gensym/g2-8.0r1/doc/g2/g2tutorials/g2tutorials.pdf

 

I would like you to complete Chapters 2 through 4 of Getting Started with G2.  (Chapter 1 is about applications and users of G2, rather than about how to use G2, so you may skip that, if you wish.  However, Chapter 1 is good reading.)

 

Start the Acrobat Reader, and read the chapter as you apply what you learn in G2.

 

acroread &

 

The G2 Tutorial is very well done, and has very few errors.  You must follow it closely, however, or you will miss some detail and end up thinking that G2 isn't working, or that the tutorial is wrong.  Give yourself time to spend quite a few hours on the G2 Tutorial.

 

Please submit as attachments to e-mail your solutions for Chapters 2, 3 and 4 by Friday, October 13th.  If you were to complete all of the G2 Tutorial, you would be a moderately proficient G2 programmer, ready for some exciting work in expert systems.

 

Good luck