AST(3)
β¨ AST(3) β¨
okay bestie, welcome to the c-like expression library β it's giving expr, it's giving Library Functions Manual, and it is lowkey iconic. sit down, grab a strawberry π, and let's get into it.
π NAME π
expr β the c-like expression library. that's it, that's the whole name. short, sweet, slays. π
π¦ SYNOPSIS π¦
first things first, you gotta let it in:
#include <graphviz/expr.h>
then here's the whole squad of functions, fr fr:
Expr_t* exopen(Exdisc_t*);
Excc_t* exccopen(Expr_t*, Exccdisc_t*);
int exccclose(Excc_t*);
void exclose(Expr_t*, int);
char* excontext(Expr_t*, char*, int);
void exerror(const char*, ...);
Extype_t exeval(Expr_t*, Exnode_t*, void*);
Exnode_t* exexpr(Expr_t*, const char*, Exid_t*, int);
and the second half of the girlies, the node/token/compile crew:
Exnode_t* excast(Expr_t*, Exnode_t*, int, Exnode_t*, int);
Exnode_t* exnewnode(Expr_t*, int, int, int, Exnode_t*, Exnode_t*);
void exfreenode(Expr_t*, Exnode_t*);
int expush(Expr_t*, const char*, int, const char*, FILE*);
int expop(Expr_t*);
int excomp(Expr_t*, const char*, int, const char*, FILE*);
int extoken(Expr_t*);
char* extype(long int);
Extype_t exzero(long int);
no cap, that's all of them, copy them exactly bestie, character for character, we do not freestyle signatures in this house. π
πΈ DESCRIPTION πΈ
okay so here's the tea, and it's actually a short one so pay attention:
exopen()β this is the first function called. the opening act. the main character entrance. nothing happens before her. πexclose()β and this is the last function called. the closing credits. she locks up when everyone's done. πexccopen()β she's the one you call if code generation will be used. conditional queen. only shows up when the codegen vibe check is passed. β¨exccclose()β she releases the state information allocated inexccopen(). so like, whateverexccopen()set up,exccclose()takes it back down. they're a matched set, don't separate them. π«Ά
that's literally the whole description section, bestie. the manpage said what it said and we're not adding a single technical claim that isn't there. periodt. π
π SEE ALSO π
literally just itself. the self-referential icon behaviour. AST(3), no notes. πͺ
and that's a wrap on the AST(3) manual page, from the Library Functions Manual β written up all cute for you with zero details left behind, every flag, signature, and function accounted for. mwah. πβ¨
π¦ where this page comes from
- alpine 3.22: graphviz-doc 12.2.1-r0 Β· EPL-1.0
- alpine 3.23: graphviz-doc 12.2.1-r0 Β· EPL-1.0
- alpine 3.24: graphviz-doc 12.2.1-r3 Β· EPL-1.0
- arch rolling: graphviz 16.1.0-2 Β· EPL
- centos-stream 10: graphviz-devel 9.0.0-15.el10 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 43: graphviz-devel 13.1.1-3.fc43 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 43: graphviz-devel 13.1.1-3.fc43 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 43: graphviz-devel 13.1.2-3.fc43 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 43: graphviz-devel 13.1.2-3.fc43 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 44: graphviz-devel 14.1.2-2.fc44 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 44: graphviz-devel 14.1.2-2.fc44 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 44: graphviz-devel 14.1.4-2.fc44 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 44: graphviz-devel 14.1.4-2.fc44 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- nixos 26.05: graphviz 12.2.1
- nixpkgs unstable: graphviz 15.1.1
- opensuse-leap 16.0: graphviz-devel 12.2.1-160000.1.1 Β· EPL-1.0
- opensuse-leap 16.0: graphviz-devel 12.2.1-160000.1.1 Β· EPL-1.0
- opensuse-leap 16.0: graphviz-devel 12.2.1-160000.1.1 Β· EPL-1.0
- opensuse-leap 16.0: graphviz-devel 12.2.1-160000.1.1 Β· EPL-1.0
- ubuntu resolute: libgraphviz-dev 14.1.2-1ubuntu1 Β· EPL-1.0
- ubuntu stonking: libgraphviz-dev 14.1.2-1ubuntu2 Β· EPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms