GETABLEXPRMAX(3)
π GETABLEXPRMAX(3) β the ABL FUNCTIONS girlies β¨
okay so bestie, welcome to the getablexprmax page β it lives in section 3 of the manual (that's the ABL FUNCTIONS section, iykyk), and it's literally about applying a function to all the operands π
πΈ NAME πΈ
getablexprmax β applies a function to all operands. that's it, that's the vibe π
π§ ORIGIN π§
ok 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 π₯β¨ (yes the actual university name has a little encoding hiccup in the original, we're not gonna pretend otherwise, that's just how it is π)
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
like, reach out, they're literally waiting π«Ά
β¨ SYNOPSIS β¨
#include "abl101.h"
chain_list βgetablexprmax( Function, Expr )
int (βFunction)();
chain_list βExpr;
no cap, that's the whole signature. copy it exactly, she's sensitive π
π PARAMETERS π
Functionβ the cost function. yes, it's a function pointer, she's fancy like that πExprβ the expression to scan. go through it, bestie π
π¦ DESCRIPTION π¦
so getablexprmax applies the cost function Function to all the operands of Expr. every single one. the way that it just goes through them all and scores them? iconic π
β RETURN VALUE β
getablexprmax returns the operand for which Function gives the maximum cost π (the original page has a little typo and says "unction" β we love her anyway, she's doing her best π).
β οΈ lowkey important: the expression pointer returned MUSTN'T be modified after the call to this function. like, do not touch. periodt π
π ERRORS π
getablexprmax error ... β yeah that's literally all the page says, bestie. we're not gonna invent lore that isn't there π
π₯ EXAMPLE π₯
#include "abl101.h"
int MapFunction( MapExpr )
chain_list βMapExpr;
{
return( getabldepthexpr( MapExpr ) );
}
...
chain_list βExpr;
chain_list βExpr1;
Expr = createablbinexpr( ABL_AND,
createablatom( "a" ),
createablatom( "b" ) );
Expr1 = getablexprmax( MapFunction, Expr );
see? you build a little AND expression out of "a" and "b", then you hit it with MapFunction via getablexprmax and get Expr1 back. slay π
π SEE ALSO π
go read that one next, it's giving main character energy π
π BUG REPORT π
this tool is under development at the ASIM department of the LIP6 laboratory π οΈ and they literally need your feedback to improve documentation and tools. so like, if something's weird, tell them, they're asking!! fr fr π
okay that's the whole page, hope it ate π
sign-off time: this beauty came from ASIM/LIP6 and she's dated October 1, 1997 β a vintage icon, honestly, we stan an old queen πβ¨π¦
π¦ where this page comes from
- nixos 26.05: alliance 5.1.1-unstable-2025-02-24
- nixpkgs unstable: alliance 5.1.1-unstable-2025-02-24
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms