Table of Contents
#include <ubf.h>
void Bboolpr (char *tree, FILE *outf);
Link with -lubf -lnstd -lm -lpthread
Print the compiled UBF buffer boolean expression evaluation Abstract Syntax Tree (AST) at tree hander to outf stream. The sample output for AST is following:
...
tree=Bboolco ("2 * ( 4 + 5 ) || 5 && 'abc' %% '..b' && 2/2*4==5")
...
Bboolpr(tree, stdout);
will give:
((2*(4+5)) || ((5 && ('abc' %% '..b')) && (((2/2)*4) == 5))Report bugs to support@mavimax.com