DOKK / manpages / debian 10 / alliance / isablsimilarexpr.3.en
ISABLSIMILAREXPR(3) ABL FUNCTIONS ISABLSIMILAREXPR(3)

isablsimilarexpr - tests if two expressions have the same morphology.

See the file buster/alliance/alc_origin.1.en.gz.

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

chain_list ∗Expr1;
chain_list ∗Expr2;

First expression.
Second expression.

isablequalexpr compares Expr1 and Expr2.

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

#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 ) );

abl(1)

See the file buster/alliance/alc_bug_report.1.en.gz.

October 1, 1997 ASIM/LIP6