CREATEABLOPER(3)

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

πŸ’… CREATEABLOPER(3) β€” the createabloper glow-up

ok so bestie, buckle in, because we're talking about createabloper from the ABL FUNCTIONS manual section, and honestly? it's giving "small function, big main character energy." ✨


🌸 NAME 🌸

createabloper β€” literally just creates the head of an operator expression. that's the whole vibe. no cap. πŸŽ€


🧚 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. trΓ¨s iconic. πŸ₯πŸ’–

like, they gave us the link AND the email, we love a transparent king πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

#include "abl101.h"
 chain_list βˆ—createabloper( Oper )
  long Oper;

πŸ“ PARAMETERS πŸ“

  • Oper β€” the operator number. that's it. that's the whole parameter. she's low maintenance. πŸ’…

πŸ‘‘ DESCRIPTION πŸ‘‘

ok so createabloper creates the head of an operator expression. simple as that. ✨

you can then add arguments to this expression with the addablhexpr and addablqexpr functions β€” like, the operator is the skeleton and those functions give it a body, iykyk 🫢

so the operator can take the following values, and bestie, there are a LOT of them, so here's the full lineup, no skipping, we respect every single one:

ABL_AND, ABL_OR, ABL_AND, ABL_XOR, ABL_NOT, ABL_NOR, ABL_NAND, ABL_NXOR, ABL_STABLE, ABL_AF, ABL_AG, ABL_AX, ABL_AU, ABL_EF, ABL_EG, ABL_EX, ABL_EU

(yes ABL_AND is in there twice, that's literally what the manpage says, don't come for me πŸ˜­πŸ’€)


⭐ RETURN VALUE ⭐

createabloper returns a pointer to the new operator expression. fresh out of the oven, ready to be decorated. πŸŽ€


πŸ’€ ERRORS πŸ’€

  • "ablcreate: bad operator xx !" β€” the operator number must be defined. so like... if you hand it a number that isn't one of the kids listed above, it WILL read you to filth with this error message. define your operator, bestie. πŸ™ˆ

🌈 EXAMPLE 🌈

here's the whole slay in action:

#include "abl101.h"
  chain_list βˆ—Expr;
  Expr = createabloper( ABL_OR );
  addablhexpr( Expr, createablatom( "a" ) );
  addablhexpr( Expr, createablatom( "b" ) );
  /* displays (a or b) */
  viewablexpr( Expr, ABL_VIEW_VHDL );

look at that. we made (a or b) happen. ate and left no crumbs πŸ”₯


πŸ’œ SEE ALSO πŸ’œ

go stan these too, they're all in the same friend group:

abl(1), createablatom(3), createablnotexpr(3), createablbinexpr(3), createablunaryexpr(3), createablxorbinexpr(3), addablhexpr(3), addablqexpr(3)


🫢 BUG REPORT 🫢

ngl, this tool is under development at the ASIM department of the LIP6 laboratory. they need your feedback to improve documentation and tools β€” so like, if something's weird, TELL THEM. it's a group project and you're part of the group now. πŸ˜ŒπŸ’–


ok that's the whole page, bestie β€” this was ASIM/LIP6, dated October 1, 1997, and it's the CREATEABLOPER(3) page, signing off. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from