SIMPABLEXPR(3)

๐Ÿ“ฆ version 5.1.1-unstable-2025-02, in nixos 26.05, nixpkgs unstable

okay so bestie, welcome to the SIMPABLEXPR(3) page from the ABL FUNCTIONS section โ€” yes, itโ€™s a whole manual page for one expression-simplifying function, and honestly? iconic. ๐Ÿ’…

โœจ NAME โœจ

simpablexpr โ€” simplies an expression. (The page says โ€œsimpliesโ€; we are not fixing it, because canon is canon ๐Ÿ˜ญ๐Ÿ’€)

๐ŸŒธ ORIGIN ๐ŸŒธ

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. ๐Ÿ—ผโœจ

Web: http://asim.lip6.fr/recherche/alliance/

E-mail: alliance-users@asim.lip6.fr

๐ŸŽ€ SYNOPSIS ๐ŸŽ€

Hereโ€™s the signature, verbatim, no cap:

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

๐Ÿฆ‹ PARAMETERS ๐Ÿฆ‹

  • Expr โ€” expression to simplfy. (Yep, โ€œsimplfyโ€ โ€” the typo is part of the lore ๐Ÿซถ)

๐Ÿ’– DESCRIPTION ๐Ÿ’–

simpablexpr simplifies Expr. Thatโ€™s the whole job, and it ate. ๐Ÿ’…

Important, bestie: the expression pointer Expr MUSTNโ€™T be used after the call to this function. Not even a little glance. Itโ€™s done. Periodt. ๐Ÿšซ๐Ÿ‘€

๐ŸŒˆ RETURN VALUE ๐ŸŒˆ

simpablexpr returns a pointer to the simplied expression. (Their spelling again: โ€œsimpliedโ€ โ€” we respect the typo era ๐Ÿ’€โœจ)

๐Ÿ”ฅ EXAMPLE ๐Ÿ”ฅ

Okay bestie, example time โ€” this is copied exactly, so donโ€™t come for me:

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

The comment says it displays '0', and yes, thatโ€™s the whole serve. ๐Ÿ’…

๐Ÿ‘‘ SEE ALSO ๐Ÿ‘‘

Go give these a look too, bestie:

๐Ÿซถ BUG REPORT ๐Ÿซถ

This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. So like, if you have notes, send them โ€” theyโ€™re literally asking ๐Ÿซถโœจ


Thatโ€™s the page, bestie. Brought to you by ASIM/LIP6, dated October 1, 1997 โ€” slay, bye ๐Ÿ’‹๐ŸŽ€

๐Ÿ“ฆ where this page comes from