DELABLEXPRNUM(3)

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

πŸ’… delablexprnum(3) β€” the ABL FUNCTIONS girlies πŸŽ€

okay so bestie, welcome to delablexprnum from the ABL FUNCTIONS manual section β€” she's a 3 (library call), she's iconic, and she does exactly one (1) thing. let's get into it ✨


🌸 NAME 🌸

delablexprnum β€” deletes an operand in an expression. that's it. that's the whole personality. slay πŸ’…


πŸ¦‹ ORIGIN πŸ¦‹

so 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. France!! the fashion capital of deleting operands πŸ’–

like, reach out, they literally want to hear from you 🫢


✨ SYNOPSIS ✨

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

that's the whole vibe. two params, no return, no drama. πŸ™‚β€β†•οΈ


πŸŽ€ PARAMETERS πŸŽ€

  • Expr β€” the expression where you're deleting an operand. your main character expression, if you will πŸ‘‘
  • second_param β€” the operand number. yes, the header literally writes it as second_param in the docs while the synopsis calls it Number β€” ik, ik, it's giving "the docs are also a little silly", but that's the canon and we respect canon πŸ’€ (fr fr, remember that in the code it's Number.)

πŸ’œ DESCRIPTION πŸ’œ

delablexprnum deletes the operand Number + 1 in Expr.

not Number. Number + 1. so if you pass 2, you're yeeting operand 3. lowkey important, highkey the whole point. note it, screenshot it, tattoo it 🧚


🌈 RETURN VALUE 🌈

delablexprnum returns nothing. that's right β€” void. she gives nothing and she's still booked and busy ✨


πŸ”₯ EXAMPLE πŸ”₯

ok so here's how it actually goes down:

#include "abl101.h"
   chain_list βˆ—ExprA;
   chain_list βˆ—ExprB;
   chain_list βˆ—ExprC;
   chain_list βˆ—ExprAorBorC;
   ExprA = createablatom( "a" );
   ExprB = createablatom( "b" );
   ExprC = createablatom( "c" );
   ExprAorBorC = createablbinexpr( ABL_OR, ExprA, ExprB );
   ExprAorBorC = createablbinexpr( ABL_OR, ExprAorBorC, ExprC );
   ...
   delablexprnum( ExprAorBorC, 2 );
   /* displays (a or b) */
   viewablexpr( ExprAorBorC, ABL_VIEW_VHDL );

so we build a, b, c, OR them all up into one big ExprAorBorC vibe, then delablexprnum( ExprAorBorC, 2 ) comes through and it displays (a or b). the c got deleted πŸ’€ not me feeling a little bad for c. anyway, then viewablexpr( ExprAorBorC, ABL_VIEW_VHDL ) shows it off. periodt πŸ”₯


⭐ SEE ALSO ⭐

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

go read them, they're the rest of the friend group 🫢


πŸ’€ 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. send the feedback, be the feedback, it's giving community πŸ’–


kisses bestie β€” go delete an operand responsibly ✨

ASIM/LIP6 Β· October 1, 1997 Β· DELABLEXPRNUM(3) πŸ’…

πŸ“¦ where this page comes from