GETABLEXPRNUM(3)

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

πŸ’… GETABLEXPRNUM(3) β€” like, the ABL FUNCTIONS manual, bestie ✨

okay so real talk: this whole page lives in the GETABLEXPRNUM(3) section of the ABL FUNCTIONS manual, and honestly? it's a whole little vibe. let's get into it 🌸


πŸ¦‹ NAME πŸ¦‹

getablexprnum β€” she gives you a specified operand of an expression. that's it. that's the whole job. no cap πŸ’–


🌈 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. iconic academic institution behavior, we love to see it πŸ‘‘


✨ SYNOPSIS ✨

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

like, she takes two things and hands you back a chain pointer. periodt πŸŽ€


πŸ’œ PARAMETERS πŸ’œ

  • Expr β€” the Expression. your main character. the thing you're poking at 🫢
  • Number β€” the Operand number. which one you want. gotta pick one, bestie πŸ”₯

🌸 DESCRIPTION 🌸

getablexprnum gives the operand Number of Expr.

that's literally it β€” you point at an expression, you say "gimme operand number N", and she delivers. no drama, no extra steps, just vibes and a pointer πŸ’…βœ¨


⭐ RETURN VALUE ⭐

getablexprnum returns the operand Number of Expr.

yes, same energy as the description, she's consistent, we stan a queen who knows what she's about πŸ‘‘πŸ’–


πŸ“ EXAMPLE πŸ“

#include "abl101.h"
  chain_list βˆ—Expr;
  Expr = createablbinexpr( ABL_AND,
                           createablatom( "a" ),
                           createablatom( "b" ) );
  /* displays    b */
  viewablexpr( getablexprnum( Expr, 1 ), ABL_VIEW_VHDL );

so we build a little ABL_AND binary expression out of atoms "a" and "b", then grab operand 1 (that's the b, iykyk) and view it as ABL_VIEW_VHDL. the comment says it displays b and honestly the comment ate πŸ”₯ no notes.


🧚 SEE ALSO 🧚

go read that one too bestie, she's part of the 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're asking. if you find something cursed or the docs are giving ✨nonsense✨, tell them β€” feedback is literally the whole love language here πŸ’€πŸ’–

and that's the page!! πŸ’… this whole thing comes courtesy of ASIM/LIP6 and is dated October 1, 1997 β€” yes, 1997, she's vintage, she's a classic, the GETABLEXPRNUM(3) header says so and everything πŸŽ€πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from