DUPABLEXPR(3)

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

πŸ’– NAME πŸ’–

dupablexpr β€” duplicates an expression. That’s the whole name section, bestie. Also, this page is from the ABL FUNCTIONS manual and its title is DUPABLEXPR(3), so now you have the full vibe check. ✨

🌸 ORIGIN 🌸

okay so bestie, this software belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France. 🫢

Web: http://asim.lip6.fr/recherche/alliance/ E-mail: alliance-users@asim.lip6.fr

✨ SYNOPSIS ✨

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

πŸŽ€ PARAMETERS πŸŽ€

  • Expr β€” the expression to duplicate. That’s it, that’s the parameter. πŸ’…

πŸ’… DESCRIPTION πŸ’…

dupablexpr duplicates the expression Expr. Literally it’s giving β€œmake a duplicate of Expr” energy. No extra plot twists. ✨

πŸ¦‹ RETURN VALUE πŸ¦‹

dupablexpr returns the duplicated expression. That’s the return value, periodt. πŸ’–

🌈 EXAMPLE 🌈

Here’s the example straight from the page, bestie:

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

The comment says it displays (a or b) (a nor b) β€” iconic. πŸ‘‘

πŸ‘‘ SEE ALSO πŸ‘‘

abl(1), delablexpr(3), freeablexpr(3).

πŸ’€ 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 fr fr, your feedback matters. 🫢


with love from ASIM/LIP6, dated October 1, 1997 πŸ’–βœ¨

πŸ“¦ where this page comes from