CREATEABLBINEXPR(3)

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

okay so bestie, welcome to the CREATEABLBINEXPR(3) manual page from the ABL FUNCTIONS corner of the universe ✨ we're gonna build a binary operator expression and keep every single detail intact, no cap.

πŸ’– NAME πŸ’–

createablbinexpr β€” creates a binary operator expression.

πŸ¦‹ ORIGIN πŸ¦‹

This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of UniversitοΏ½ Pierre and 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 βˆ—createablbinexpr( Oper, Expr1, Expr2 )
         long        Oper;
         chain_list βˆ—Expr1;
         chain_list βˆ—Expr2;

πŸŽ€ PARAMETERS πŸŽ€

  • Oper β€” the operator number.
  • Expr1 β€” the first expression.
  • Expr2 β€” the second expression.

🌸 DESCRIPTION 🌸

createablbinexpr creates the binary operator expression Expr1 Operator Expr2. If the operator of Expr1 and/or Expr2, and Operator are identicals, createablbinexpr merges eventually the sub-expressions. The expression pointers Expr1 and Expr2 MUSTN'T be used after the call to this function.

⚠️ bestie, this is the dramatic part: after you call this function, Expr1 and Expr2 are done. do not keep using those pointers. like, at all. 😭

πŸ‘‘ RETURN VALUE πŸ‘‘

createablbinexpr returns a pointer to the new operator expression. iconic behavior, honestly 🫢

πŸ”₯ ERRORS πŸ”₯

  • "ablcreate: bad operator xx !" β€” the error string you get here; the rule is that Operator must be defined and must be a binary operator.

🧚 EXAMPLE 🧚

       #include "abl101.h"
          chain_list βˆ—ExprA;
          chain_list βˆ—ExprB;
          chain_list βˆ—ExprAorB;
          ExprA = createablatom( "a" );
          ExprB = createablatom( "b" );
          ExprAorB  = createablbinexpr( ABL_OR, ExprA, ExprB );

πŸ’œ 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.


with love from ASIM/LIP6, dated October 1, 1997, and yes this is the CREATEABLBINEXPR(3) page era πŸ«ΆπŸ’–πŸ¦‹

πŸ“¦ where this page comes from