Scroll to navigation

ISABLSIMILAREXPR(3) ABL FUNCTIONS ISABLSIMILAREXPR(3)

NAME

isablsimilarexpr - tests if two expressions have the same morphology.

ORIGIN

This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.

Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr

SYNOPSYS

#include "abl101.h"
int isablsimilarexpr( Expr1, Expr2 )

chain_list ∗Expr1;
chain_list ∗Expr2;

PARAMETERS

First expression.
Second expression.

DESCRIPTION

isablequalexpr compares Expr1 and Expr2.

RETURN VALUE

if Expr1 and Expr2 have got the same morphology isablequalexpr returns 1 and 0 otherwise.

EXAMPLE

#include "abl101.h"

chain_list ∗Expr1;
chain_list ∗Expr2;
Expr1 = createablbinexpr( ABL_AND,
createablatom( "a" ),
createablatom( "b" ) );
Expr2 = createablbinexpr( ABL_AND,
createablatom( "c" ),
createablatom( "d" ) );
/* displays 1 */
printf( "%d", isablsimilarexpr( Expr1, Expr2 ) );

SEE ALSO

abl(1)

BUG REPORT

This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.

October 1, 1997 ASIM/LIP6