CREATEABLBINEXPR(3)
π CREATEABLBINEXPR β the "make me a binary operator expression" era π
okay bestie, gather round, because we're talking about createablbinexpr(3) from the ABL FUNCTIONS corner of the world. this is a manual page, it's giving β¨academicβ¨, but I'm gonna walk you through it like we're texting at 2am. no cap.
πΈ NAME πΈ
createablbinexpr β literally just... creates a binary operator expression. that's the whole job. that's her main character moment. π
π¦ ORIGIN π¦
okay so this software belongs to the ALLIANCE CAD SYSTEM, which was developed by the ASIM team over at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France. π«π· iconic location honestly.
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
β¨ SYNOPSIS β¨
#include "abl101.h"
chain_list βcreateablbinexpr( Oper, Expr1, Expr2 )
long Oper;
chain_list βExpr1;
chain_list βExpr2;
π PARAMETERS π
Operβ the operator number. yes, just the number. the vibe of the operator, numerically. π’Expr1β the first expression. the OG. the one who came first.Expr2β the second expression. the sequel. the part two. π
π DESCRIPTION π
so createablbinexpr creates the binary operator expression Expr1 Operator Expr2. like, it literally glues them together with the operator in the middle and hands you back the whole thing. slay.
here's the lil plot twist though: if the operator of Expr1 and/or Expr2, and Operator, are identicals, then createablbinexpr merges eventually the sub-expressions. so sometimes it's not just stacking, it's merging. iykyk.
β οΈ okay listen, this part is IMPORTANT: the expression pointersExpr1andExpr2MUSTN'T be used after the call to this function. like, they're gone bestie. consumed. don't text them back, don't reference them, don't even look at them. the function took them and that's that. π
π RETURN VALUE π
createablbinexpr returns a pointer to the new operator expression. fresh out the oven, still warm, ready to be used. β¨
π ERRORS π
"ablcreate: bad operator xx !"β this happens whenOperatorisn't defined, or isn't a binary operator. so like... you gotta give her a real one.Operatormust be defined and must be a binary operator. periodt.
π EXAMPLE π
here's what it actually looks like in the wild, fr fr:
#include "abl101.h"
chain_list βExprA;
chain_list βExprB;
chain_list βExprAorB;
ExprA = createablatom( "a" );
ExprB = createablatom( "b" );
ExprAorB = createablbinexpr( ABL_OR, ExprA, ExprB );
like look at her. two atoms, "a" and "b", and then boom β ABL_OR and we got ourselves an ExprAorB. ate. π«Ά
π₯ SEE ALSO π₯
abl(1)createablatom(3)createabloper(3)createablxorbinexpr(3)createablunaryexpr(3)createablnotexpr(3)addablhexpr(3)addablqexpr(3)
go read those too, they're all part of the same 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. so if something's weird, tell them. don't be shy bestie. π
and that's the whole page!! this lil cutie is brought to you by ASIM/LIP6, dated October 1, 1997 β yeah she's vintage, she's a classic, she's still out here serving. π β¨ bye bestie, go create some binary operator expressions π¦
π¦ 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