DELABLEXPRNUM(3)
π DELABLEXPRNUM(3) β the ABL FUNCTIONS girlies π
okay bestie, sit down, we're doing a manual page and honestly? it's a short one, we can do this together. this is delablexprnum, from the ABL FUNCTIONS section of the manual, and it's lowkey one of the most satisfying little functions out there. it deletes stuff. that's it. that's the vibe. π
β¨ NAME β¨
delablexprnum β deletes an operand in an expression.
no cap, that's the whole job description. she removes an operand. iconic behavior honestly. π
πΈ ORIGIN πΈ
okay so this software belongs to the ALLIANCE CAD SYSTEM, which was developed by the ASIM team at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France. oui oui, trΓ¨s chic. π₯β¨
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
π¦ SYNOPSIS π¦
#include "abl101.h"
void delablexprnum( Expr, Number )
chain_list βExpr;
int Number;
look at her. void return type. she takes and she takes and she gives nothing back. main character energy fr fr. π
π PARAMETERS π
Exprβ the expression where you're deleting an operand. like, this is the victim, bestie. πsecond_paramβ the operand number. yes, the doc literally calls itsecond_param, and yes, we're keeping it exactly like that, don't @ me. π«Ά
β DESCRIPTION β
so delablexprnum deletes the operand Number + 1 in Expr.
that's the +1, babes. the math is mathing, and it means the counting starts at 1, not 0. keep that in your head or you'll delete the wrong thing and we'll both be sad. π
π RETURN VALUE π
delablexprnum returns nothing.
literally nothing. no int, no status code, no little "hey bestie, it worked!" note. void. she's mysterious like that. π
π₯ EXAMPLE π₯
#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 as atoms, smash them together with ABL_OR until we've got the whole a or b or c situation going on, and then β plot twist β we call delablexprnum( ExprAorBorC, 2 ); and now c is gone. deleted. unalived. π
and because of that sneaky Number + 1, operand 2 means the third one, which is c. so we're left with (a or b) and the comment says it all: /* displays (a or b) */. she ate and left no crumbs. π
then viewablexpr( ExprAorBorC, ABL_VIEW_VHDL ); shows it off in VHDL flavor. slay. β¨
π SEE ALSO π
go read those too, i'm not gonna gatekeep my faves. iykyk. πΈ
π§ BUG REPORT π§
this tool is under development at the ASIM department of the LIP6 laboratory.
we need your feedback to improve documentation and tools.
that's a real ask, bestie β if something's broken or the docs are giving nothing, tell them. constructive feedback is self care. π«Ά
okay that's the whole page!! ASIM/LIP6, October 1, 1997 β that's the source and the date, vintage queen, still serving π β¨ bye bestie, go delete some operands responsibly!! πππ¦
π¦ where this page comes from
- fedora 43: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 43: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 44: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 44: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms