AI-MegaHAL
view release on metacpan or search on metacpan
libmegahal.c view on Meta::CPAN
* tree.
*/
TREE *find_symbol_add(TREE *node, int symbol)
{
register int i;
TREE *found=NULL;
bool found_symbol=FALSE;
/*
* Perform a binary search for the symbol. If the symbol isn't found,
* attach a new sub-node to the tree node so that it remains sorted.
*/
i=search_node(node, symbol, &found_symbol);
if(found_symbol==TRUE) {
found=node->tree[i];
} else {
found=new_node();
found->symbol=symbol;
add_node(node, found, i);
}
megahal.trn view on Meta::CPAN
A rogue is an idle vagrant.
Sir Isaac Newton was an English scientist. He put forward the theory that the universe is regulated by simple mathematical laws.
Socrates was a Greek philosopher.
Thomas Alva Edison was an American scientist. He invented the carbon filament electric lamp and the phonograph.
William Shakespeare was an English dramatist and poet.
#
# Encyclopaedic information: Weapons
#
Armour is body protection worn in battle.
An arrow is a missile projected by a bow.
A bayonet is a short sword attached to the muzzle of a firearm.
A blowpipe is a tubular weapon through which a missile is blown.
A bokken is a Japanese wooden imitation samurai sword used by kendoka when demonstrating or practising standard kendo movements.
A bomb is a hollow shell filled with an explosive.
A boomerang is a curved wooden weapon of Australian aborigines.
A bow is a weapon for propelling arrows.
A broadsword is a sword with a broad blade designed chiefly for cutting.
Karate is a form of Japanese unarmed combat.
A katana was a Japanese sword used by Samurai.
A mercenary is a soldier hired by the army of another country or by a private army.
A sword is an offensive weapon designed for cutting and thrusting.
( run in 0.439 second using v1.01-cache-2.11-cpan-88abd93f124 )