summaryrefslogtreecommitdiff
path: root/src/pmie/src/README.DEBUG
diff options
context:
space:
mode:
Diffstat (limited to 'src/pmie/src/README.DEBUG')
-rw-r--r--src/pmie/src/README.DEBUG19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/pmie/src/README.DEBUG b/src/pmie/src/README.DEBUG
new file mode 100644
index 0000000..52eca13
--- /dev/null
+++ b/src/pmie/src/README.DEBUG
@@ -0,0 +1,19 @@
+Notes to assist in debugging pmie
+
+pmie command line debug flags
+ APPL0 - lexical scanning
+ APPL1 - parse/expression tree construction
+ APPL2 - expression execution
+
+macro EVALARG(x) expands to
+ if ((x)->op < NOP) ((x)->eval)(x);
+
+The source file fun.c is generated by expansion of all of the *.sk
+"skeletal" files ... so changes need to be made in the *.sk files and
+fun.c will be recreated in the make.
+
+The Expr structure (defined in dstruct.h) is at the core of the pmie
+expression evaluation.
+ valid must be > 0 for there to be any values able to be
+ used in the expression evaluation
+