POLARDUPABLEXPR(3)

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

πŸ’… POLARDUPABLEXPR(3) β€” like, the ABL FUNCTIONS girlies are gonna eat this UP

okay so bestie, welcome to polardupablexpr from the ABL FUNCTIONS manual β€” yes that's the manual name, don't @ me, it's giving reference-page realness ✨


πŸŽ€ NAME πŸŽ€

polardupablexpr β€” duplicates an expression and moves down the inverters. that's the whole vibe, no cap πŸ’«


🌸 ORIGIN 🌸

ok so this software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universit\u00e9 Pierre et Marie CURIE, in Paris, France. iconic academic queen behavior πŸ‘‘


✨ SYNOPSIS ✨

#include "abl101.h"
chain_list βˆ—polardupablexpr( Expr, Polar )
  chain_list βˆ—Expr;
  int         Polar;

πŸ¦‹ PARAMETERS πŸ¦‹

  • Expr β€” the expression you're gonna modify. that's her, that's the main character πŸ’–
  • Polar β€” the expression polarity. she has moods, we respect them.

πŸ’œ DESCRIPTION πŸ’œ

so polardupablexpr modifies Expr by moving down the inverters to the atomic level. lowkey a glow-up makeover for your expression ✨ she literally applies the Morgan's laws. iykyk.

and if Polar is equal to ABL_POLAR_NEGATIVE, the function returns the modified expression after having complemented it. so like, she comes back with a whole new attitude πŸ’…


πŸ”₯ RETURN VALUE πŸ”₯

polardupablexpr returns the modified expression. that's it, that's the return, she ate and left no crumbs 🫢


🌈 EXAMPLE 🌈

#include "abl101.h"
  chain_list βˆ—Expr1;
  chain_list βˆ—Expr2;
  Expr1 = createabloper( ABL_NOT );
  Expr2 = createabloper( ABL_NOT );
  addablhexpr( Expr1, createablatom( "a" ) );
  addablhexpr( Expr2, Expr1 );
  Expr1 = polardupablexpr( Expr2, ABL_POLAR_POSITIVE );
  /* displays  a */
  viewablexpr( Expr1, ABL_VIEW_VHDL );

like, look at her go 😭 those nested ABL_NOTs get folded down and the thing just displays a. periodt.


⭐ SEE ALSO ⭐

  • abl(1) β€” go read it, bestie, it's the whole family 🧚

πŸ’€ BUG REPORT πŸ’€

this tool is under development at the ASIM department of the LIP6 laboratory. we need your feedback to improve documentation and tools β€” fr fr, they literally said it, so send the feedback, don't leave them on read πŸ™ˆ

hot tip from the page itself: under development = expect the chaos, be nice about it πŸ’œ

and that's the page! footer tea for the record books: it's ASIM/LIP6, dated October 1, 1997 β€” so vintage, so iconic, we stan a throwback πŸŽ€πŸ¦‹ see u next manpage bestie πŸ’–

πŸ“¦ where this page comes from