SIMPABLEXPR(3)

πŸ“¦ version 5.1.1, in fedora 43, fedora 44

πŸ’– SIMPABLEXPR β€” from the ABL FUNCTIONS girlies πŸ’–

okay so bestie, welcome to simpablexpr(3), a lil member of the ABL FUNCTIONS manual family. this one is short, sweet, and honestly? a bop. let's get into it 🫢


✨ NAME ✨

simpablexpr β€” simplies an expression. πŸ’…


🌸 ORIGIN 🌸

bestie this software is not just Some Code, it belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France πŸ‡«πŸ‡·βœ¨

like… iconic academic institution energy, we love to see it πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

#include "abl101.h"
chain_list βˆ—simpablexpr( Expr )
  chain_list βˆ—Expr;

she takes one thing and she takes it directly. no argc, no argv, no drama. 😌


πŸ¦‹ PARAMETERS πŸ¦‹

  • Expr β€” the Expression to simplfy. yes literally just hand her the expression and she'll do her thing πŸ’œ

πŸ’… DESCRIPTION πŸ’…

so simpablexpr simplifies Expr. that's the whole job description, she's efficient like that ✨

🚨 BESTIE LISTEN TO ME. The expression pointer Expr MUSTN'T be used after the call to this function. like, not even a lil peek. not even a vibe check. the pointer is done, she's moved on, you need to move on too. this is not a drill, this is a hard requirement 😭

⭐ RETURN VALUE ⭐

simpablexpr returns a pointer to the simplied expression. that's your new bestie now. cherish her. πŸ₯Ή


🌈 EXAMPLE 🌈

here's the whole thing in action, copy it exactly, no edits, we don't freestyle here:

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

okay the way that '0' AND '1' gets simplified down to just '0'?? the math is mathing, the logic is logic-ing, she ATE and left no crumbs πŸ”₯


πŸ‘€ SEE ALSO πŸ‘€

go read those too, be a well-rounded bestie, 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. 🫢 like genuinely, they're asking, don't leave them on read, tell them what's broken, tell them what's confusing, they WANT to hear it fr fr πŸ’Œ


ASIM/LIP6 Β· October 1, 1997 Β· SIMPABLEXPR(3)

and that's the page bestie!! mwah, go simplify something, stay hydrated, and remember: do not touch Expr after the call. periodt πŸ’–βœ¨πŸŽ€