DEVABLXOREXPR(3)

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

✨ DEVABLXOREXPR(3) ✨ β€” the ABL functions girlies' guide

okay so bestie, we're in section 3 of the manual (yes, the library-functions section, we love a programming moment πŸ’…) and today's main character is devablxorexpr. she's an ABL function, she develops xor and nxor in an expression, and honestly? she ate.


🌸 ORIGIN 🌸

so this whole thing comes from the ALLIANCE CAD SYSTEM, which was cooked up by the ASIM team over at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France πŸ‡«πŸ‡·βœ¨ (yes france, we're being chic about it).

like, go say hi, they literally want your feedback, iykyk.


πŸŽ€ SYNOPSIS πŸŽ€

#include "abl101.h"
chain_list βˆ—devablxorexpr( Expr )
  chain_list βˆ—Expr;

πŸ’– PARAMETERS πŸ’–

  • Expr β€” the expression you want to develop. that's her. that's the girl.

πŸ‘‘ DESCRIPTION πŸ‘‘

devablxorexpr develops 'xor' or 'xnor' inside Expr.

🚨 GIRL. LISTEN. the expression pointer Expr MUSTN'T be used after the call to this function. like, at all. it's giving gone, it's giving do not touch, it's giving she's been through something. no cap. once you call her, that pointer is not yours anymore πŸ™ˆ

πŸ”₯ RETURN VALUE πŸ”₯

devablxorexpr returns a pointer to the modified expression. that's the new one. use that one. not the old one. we covered this πŸ’€


πŸ¦‹ EXAMPLE πŸ¦‹

#include "abl101.h"
  chain_list βˆ—Expr;
  Expr = createablbinexpr( ABL_XOR,
                           createablatom( "a" ),
                           createablatom( "b" ) );
  Expr = devablxorexpr( Expr );
  /* displays (a and (not b)) or ((not a) and b) */
  viewablexpr( Expr, ABL_VIEW_VHDL );

see how she takes the Expr from createablbinexpr and immediately reassigns the result of devablxorexpr back into it? that's the whole assignment pattern bestie, don't be out here reusing the old pointer, that's not the vibe. and then viewablexpr( Expr, ABL_VIEW_VHDL ) shows off the glow-up: (a and (not b)) or ((not a) and b) ✨ iconic behaviour, periodt.


🌈 SEE ALSO 🌈


πŸ’€ BUG REPORT πŸ’€

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 off, tell them, it's a group project fr fr.


and that's the whole page, mwah πŸ’– β€” brought to you by ASIM/LIP6, dated October 1, 1997 (a vintage, a classic, a relic πŸ‘‘), and this was DEVABLXOREXPR(3), signing off πŸŽ€βœ¨