CREATEABLUNARYEXPR(3)

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

✨ NAME ✨

okay so bestie, this is createablunaryexpr β€” it creates an unary operator expression πŸ’…


🌸 ORIGIN 🌸

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 πŸ‡«πŸ‡·βœ¨


πŸŽ€ SYNOPSIS πŸŽ€

#include "abl101.h"
chain_list βˆ—createablunaryexpr( Oper, Expr )
  long        Oper;
  chain_list βˆ—Expr;

πŸ¦‹ PARAMETERS πŸ¦‹

  • Oper β€” the unary operator number, periodt πŸ”’
  • Expr β€” the expression itself πŸ’–

πŸ‘‘ DESCRIPTION πŸ‘‘

createablunaryexpr creates the unary operator expression Operator Expr ✨

createablbinexpr combines eventualy the operator of Expr with Operator. no cap, that's literally what it says.

⚠️ okay this is the important part: the expression pointer Expr MUSTN'T be used after the call to this function. like, it's gone, it's not yours anymore, do not touch it πŸ˜­πŸ’€

🌈 RETURN VALUE 🌈

createablunaryexpr returns a pointer to the new operator expression 🫢 so fresh, so new


πŸ”₯ ERRORS πŸ”₯

  • "ablcreate: bad operator xx !" β€” bestie the operator must be defined and must be a unary operator, that's the vibe check and it failed πŸ™ˆ

πŸ“ EXAMPLE πŸ“

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

look at that glow up 😌 ate and left no crumbs


πŸ’œ 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 🫢 so like, tell them stuff, iykyk


mwah πŸ’‹ this page came from ASIM/LIP6, dated October 1, 1997 β€” yeah it's a vintage icon, an absolute legend, we stan πŸ‘‘βœ¨