GETABLEXPRMAX(3)

πŸ“¦ version 5.1.1, in fedora 43, fedora 44

✨ GETABLEXPRMAX ✨

okay bestie, welcome to a page from the ABL FUNCTIONS manual β€” it's GETABLEXPRMAX(3) and it's literally about finding the ✨most✨ extra operand in your expression. πŸ’…


🌸 ORIGIN 🌸

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. πŸ₯–πŸ‡«πŸ‡· iconic.


πŸ¦‹ SYNOPSIS πŸ¦‹

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

like. look at her. she's serving function-pointer-and-expression realness. no cap. πŸ’–


πŸŽ€ PARAMETERS πŸŽ€

  • Function β€” the cost function. your little judge-y scoring machine. she rates things. πŸ”₯
  • Expr β€” the expression to scan. this is the thing we're snooping through, respectfully. πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

getablexprmax applies the cost function Function to all operands of Expr. every single one. she's thorough, she's committed, she's giving main character energy. 🌈


⭐ RETURN VALUE ⭐

getablexprmax returns the operand for which Function gives the maximum cost. she picks the winner. the one with the highest score. slay. πŸ‘‘

🚨 okay this is the important part, don't scroll past: the expression pointer returned MUSTN'T be modified after the call to this function. like, hands off. do not touch. do not edit. it's giving fragile glass sculpture, not giving playground. 😭

πŸ’€ ERRORS πŸ’€

getablexprmax error ... 🫠 that's genuinely all the original says bestie, I'm not gonna invent lore for it.


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

not her building an ABL_AND of "a" and "b" and then asking which one has the deepest expression. obsessed. 🧚


πŸ“ SEE ALSO πŸ“


πŸ™ˆ BUG REPORT πŸ™ˆ

This tool is under development at the ASIM department of the LIP6 laboratory.

We need your feedback to improve documentation and tools. 🫢 like fr fr, they're asking nicely, go tell them things.


ASIM/LIP6 πŸŽ€ October 1, 1997 πŸŽ€ and that's the whole page, bestie β€” written up by ASIM/LIP6, dated October 1, 1997, from the ABL FUNCTIONS collection. periodt. πŸ’–βœ¨