CREATEABLOPER(3)

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

πŸ’– CREATEABLOPER πŸ’–

okay bestie, welcome to the createabloper(3) page, part of the ABL FUNCTIONS family β€” it's giving iconic, it's giving useful, and yes we're gonna get through all of it together 🫢


🌸 NAME 🌸

createabloper β€” she creates the head of an operator expression. that's the whole job. that's her main character energy. ✨


πŸŽ€ 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 πŸ‡«πŸ‡· (yes, the actual city of love, and also of EDA tooling, we stan)


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

so createabloper creates the head of an operator expression. think of it as building the skeleton of your expression and then letting your fave functions come decorate it πŸ’–

arguments can be added to this expression with the addablhexpr and addablqexpr functions. yes, both. no, we are not skipping either of them.

and the operator can take the following values, so like, memorize these, iykyk:

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

not me listing ABL_AND twice β€” that's literally how the original page has it, so bestie we are keeping it exactly as-is, no cap. two ABL_ANDs. we don't edit the canon. πŸ™ˆ

πŸ”₯ RETURN VALUE πŸ”₯

createabloper returns a pointer to the new operator expression. so fresh, so clean, so ready to be used πŸ‘‘


πŸ’€ ERRORS πŸ’€

  • "ablcreate: bad operator xx !" the operator number must be defined. fr fr, if it's not defined, she's gonna complain at you. define your operators, bestie. don't do it. 🚫

🌈 EXAMPLE 🌈

here's the vibe, copy it exactly, no renaming, no "fixing":

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

and yes, it displays (a or b) β€” slay. that's the whole demo. ate. πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

go read those next, bestie, the lore is deep 🧚


πŸ“ 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 genuinely, they're asking, please tell them, your girl is nothing without the group chat 🫢


⭐ reminder: everything above is exactly the facts from the original page β€” every option value, every function name, every error string, every reference β€” just wrapped in the love and glitter it deserved all along. πŸ’–

that's the whole page, you're officially fluent in createabloper, mwah πŸ˜­πŸ’…

ASIM/LIP6 β€” October 1, 1997 β€” CREATEABLOPER(3) ✨ bye bestie, go build something iconic 🌸