GETABLEXPRMIN(3)

πŸ“¦ version 5.1.1-unstable-2025-02, in nixos 26.05, nixpkgs unstable

getablexprmin(3) β€” ABL FUNCTIONS ✨

okay so this is getablexprmin(3) from the ABL FUNCTIONS manual, and we’re gonna make it make sense, bestie. πŸ’–

πŸŽ€ NAME πŸŽ€

getablexprmin β€” applies a function to all operands.

🌈 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

πŸ’… SYNOPSIS πŸ’…

#include "abl101.h"
chain_list βˆ—getablexprmin( Function, Expr )
  int       (βˆ—Function)();
  chain_list βˆ—Expr;

πŸ“ PARAMETERS πŸ“

  • Function β€” the cost function. It’s the lil guy doing the judging. πŸ‘‘
  • Expr β€” the expression to scan. This is the thing we’re snooping through. πŸ•΅οΈβ€β™€οΈ

πŸ¦‹ DESCRIPTION πŸ¦‹

getablexprmin applies the cost function Function to all operands of Expr. That’s the whole move. It’s giving β€œrun the vibe check on every operand” energy. ✨

πŸ”₯ RETURN VALUE πŸ”₯

getablexprmin returns the operand for which unction gives the minimum cost β€” yes, the original page literally says unction, and no cap, it means Function with the F ghosting us. 😭

The expression pointer returned MUSTN’T be modified after the call to this function. Like, don’t touch it. Periodt. 🚫

πŸ’€ ERRORS πŸ’€

The page says getablexprmin error ... and that’s literally it. No extra error list, no codes, no lore. That’s the whole error section, bestie. πŸ’€

🌸 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 = getablexprmin( MapFunction, Expr );

πŸ‘‘ 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. fr fr, they’re asking. 🫢


xoxo, ASIM/LIP6 β€” October 1, 1997 β€” GETABLEXPRMIN(3) πŸ’–

πŸ“¦ where this page comes from