AI::Prolog::TermList::Step - Perl implementation of Prolog "step" mechanism.


AI-Prolog documentation Contained in the AI-Prolog distribution.

Index


Code Index:

NAME

Top

AI::Prolog::TermList::Step - Perl implementation of Prolog "step" mechanism.

SYNOPSIS

Top

No user serviceable parts inside. You should never be seeing this. This is a debugging tool.

DESCRIPTION

Top

See AI::Prolog for more information. If you must know more, there are plenty of comments sprinkled through the code.

SEE ALSO

Top

AI::Prolog

AI::Prolog::Introduction

AI::Prolog::Builtins

W-Prolog: http://goanna.cs.rmit.edu.au/~winikoff/wp/

X-Prolog: http://www.iro.umontreal.ca/~vaucher/XProlog/

Roman Bart&225;k's online guide to programming Prolog: http://kti.ms.mff.cuni.cz/~bartak/prolog/index.html

AUTHOR

Top

Curtis "Ovid" Poe, <moc tod oohay ta eop_divo_sitruc>

Reverse the name to email me.

COPYRIGHT AND LICENSE

Top


AI-Prolog documentation Contained in the AI-Prolog distribution.

package AI::Prolog::TermList::Step;
$REVISION = '$Id: Step.pm,v 1.2 2005/02/20 18:27:55 ovid Exp $';
$VERSION = '0.1';
@ISA = 'AI::Prolog::TermList';
use strict;
use warnings;

use aliased 'AI::Prolog::Term';

sub new {
    my ($class, $termlist) = @_;
    my $self = $class->SUPER::new;

    $self->{next}     = $termlist->next;
    $termlist->{next} = $self;
    $self->{term}     = Term->new('STEP',0);
    return $self;
}

1;
__END__