xexpr

xexpr — XEXPR Interpreter

Synopsis

xexpr [OPTION...] [script]

Description

xexpr is an XEXPR interpreter. It loads and executes XEXPR programs.

Options

-h, --help

print help and exit

-d, --dump-tree

Instead of executing the XEXPR program, dump the parsed tree after loading

-D, --dump-result

After executing the XEXPR program, dump the result

-t, --test-result

After executing the XEXPR program, test the result and exit 0 if it evaluates to <true> and non-zero if it evaluates to <false>

-T=id, --trace id

Adds id to the set of symbols to trace. When variables with the name of a traced symbol are created or changed, xexpr will output a suitable tracing message and a stack dump

--xinclude

Do XInclude processing

--param name,number

Set a global XEXPR variable of the given name with a numeric value of number. A float or integer type will be selected automatically.

--stringparam name,value

Set a global XEXPR variable of the given name with a string value of value.