GETABLEXPRDEPTH(3)

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

πŸ’– GETABLEXPRDEPTH πŸ’–

okay bestie, so this is a page about getablexprdepth, a lil function from the ABL functions crew. she gives the depth of an expression. that's it, that's her whole thing. queen of doing one job. πŸ‘‘


🌸 ORIGIN 🌸

so like, this software belongs to the ALLIANCE CAD SYSTEM, which was developed by the ASIM team at the LIP6 laboratory of UniversitΓ© Pierre and Marie CURIE, in Paris, France. πŸ‡«πŸ‡·βœ¨


✨ SYNOPSIS ✨

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

πŸŽ€ PARAMETERS πŸŽ€

  • Expr β€” the expression. that's the vibe. that's the whole parameter.

πŸ’… DESCRIPTION πŸ’…

getablexprdepth gives the depth of an expression. fr fr, that is literally the entire description. she serves depth, and nothing else. no notes. 🫢


⭐ RETURN VALUE ⭐

getablexprdepth returns the depth of Expr. like. the depth. of the expression you gave her. πŸ’«


🌈 EXAMPLE 🌈

here's the moment you've been waiting for, bestie β€” an actual example, slay:

#include "abl101.h"
   chain_list βˆ—ExprA;
   chain_list βˆ—ExprB;
   chain_list βˆ—ExprAorB;
   ExprA = createablatom( "a" );
   ExprB = createablatom( "b" );
   ExprAorB  = createablbinexpr( ABL_OR, ExprA, ExprB );
   /* displays 1 */
   printf( "%d", getablexprdepth( ExprAorB ) );
not me building ExprA, ExprB, then ExprAorB with ABL_OR and getting 1 back 😭 the way that OR expression is exactly one level deep. she ate. πŸ“

πŸ¦‹ SEE ALSO πŸ¦‹


πŸ’€ BUG REPORT πŸ’€

heads up bestie, this tool is under development at the ASIM department of the LIP6 laboratory. they need your feedback to improve documentation and tools. so like, if something's giving broken, tell them. we're all in this together. πŸ™ˆπŸ’œ


so that's the whole page, gorgeous β€” brought to you by ASIM/LIP6, dated October 1, 1997, and filed under GETABLEXPRDEPTH(3). yes she's a libra (or whatever october 1 is, don't @ me), and yes she's iconic. periodt. πŸ‘‘βœ¨