MAPABLOPEREXPR(3)
π MAPABLOPEREXPR π
okay bestie, welcome to the mapabloperexpr page from the ABL FUNCTIONS section of the manual (section 3, library calls, iykyk) β¨ this one's a little function-wrangler and she's cute, let's get into it π«Ά
πΈ NAME πΈ
mapabloperexpr β applies a function to all operands π
π ORIGIN π
okay so, this software belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team at the 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
β¨ SYNOPSIS β¨
#include "abl101.h"
chain_list βmapabloperexpr( Function, Oper, Expr )
chain_list β (βFunction)();
long Oper;
chain_list βExpr;
π¦ PARAMETERS π¦
Functionβ the name of the function you're applying to, like, every single operand π«Operβ the operator number, she's just a number bestie π’Exprβ the expression you're scanning through π
π DESCRIPTION π
so mapabloperexpr applies Function to all the operands of Expr π
here's the tea: mapablopoperexpr creates a head of an operator expression having Oper as operator, and then adds the arguments calculated by applying Function to each argument of Expr π
and heads up β Function must return an expression and must have a unique expression as argument. no cap, that's the rule π¨
π RETURN VALUE π
mapabloperexpr returns a new expression, made by applying Function to all the arguments of the operator expression Expr β it's giving "new expression, who dis" but make it math π
π EXAMPLE π
#include "abl101.h"
chain_list βMapFunction( MapExpr )
chain_list βMapExpr;
{
return( createablnotexpr( dupablexpr( MapExpr ) ) );
}
chain_list βExpr;
chain_list βExpr1;
Expr = createablbinexpr( ABL_NOR,
createablatom( "a" ),
createablatom( "b" ) );
Expr1 = mapabloperexpr( MapFunction, ABL_AND, Expr );
/* displays ((not a) and (not b)) */
viewablexpr( Expr1, ABL_VIEW_VHDL );
see that comment? it literally displays ((not a) and (not b)) β ate and left no crumbs ππ₯
π SEE ALSO π
π BUG REPORT π
this tool is under development at the ASIM department of the LIP6 laboratory π οΈ and fr fr, we need your feedback to improve documentation and tools β so tell us everything, bestie, we're listening π«Ά
and that's the whole page, no notes β¨ this came to you from ASIM/LIP6, dated October 1, 1997 β a literal vintage icon π π stay hydrated, read your man pages, and go apply some functions to some operands, mwah π
π¦ where this page comes from
- fedora 43: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 43: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 44: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 44: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms