UNFLATABLEXPR(3)
π UNFLATABLEXPR π (that's the UNFLATABLEXPR(3) page, from the ABL FUNCTIONS manual, bestie)
β¨ NAME β¨
unflatablexpr β unflats the operators of an expression
π ORIGIN π
Okay 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. Very demure, very academic, we love her. π
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
π SYNOPSIS π
#include "abl101.h"
void unflatablexpr( Expr )
chain_list βExpr;
π§Έ PARAMETERS π§Έ
Exprβ the expression you wanna unflat. That's it, that's the whole assignment. π¦
π« DESCRIPTION π«
So unflatablexpr goes into Expr and modifies all the operators in there, so that you end up with exclusively binary or unary operators. No n-ary nonsense, no flat little friend-groups of five operators holding hands. She's splitting them up. Periodt. π
π«Ά RETURN VALUE π«Ά
unflatablexpr returns the modified expression. She gives you the goods back. π₯
πΈ EXAMPLE πΈ
#include "abl101.h"
chain_list βExpr1;
chain_list βExpr2;
Expr1 = createbinexpr( ABL_OR,
createablatom( "a" ),
createablatom( "b" ) );
addablqexpr( Expr1, createablatom( "c" ) );
Expr2 = unflatablexpr( dupablexpr( Expr1 ) );
/* displays ((a or b) or c) (a or b or c) */
viewablexpr( Expr2, ABL_VIEW_VHDL );
viewablexpr( Expr1, ABL_VIEW_VHDL );
Note how Expr1 stays flat as a pancake and Expr2 got the unflat treatment β same vibe, different silhouette. The dupablexpr is doing the heavy lifting of keeping the original safe, which is so thoughtful of it ngl. π
π SEE ALSO π
abl(1), ununflatablexpr(3).
(Yes, ununflatablexpr is a real page and yes, the name is iconic. The reverse of the reverse. Queen behaviour. π)
π 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, your girl is literally asking. Tell them what's broken, what's confusing, what made you go π. They wanna hear it.
β Real talk: this page is ASIM/LIP6, dated October 1, 1997 β an absolute elder icon who's been serving binary-or-unary energy for decades and still ate. Go unflat your expressions, bestie. The operators deserve structure. ππ
π¦ 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